본문 바로가기
TOP BOTTOM
CS/Error 해결

[프로세스 강제 종료하기]Web server failed to start. Port 8080 was already in use.

by mola23 2022. 2. 13.

참고

 

1. 오류 상황

***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
> Task :HelloSpringApplication.main() FAILED

1) 원인

포트 번호 8080 사용 중

 

2) 실패한 해결 방안

그냥 cmd에서 실행 ... sudo는 윈도우에 없는 듯

2. 해결 방안

cmd 관리자 모드 실행

netstat -ano | findstr 8080
taskkill /F /pid 프로세스아이디

 

댓글