Web server failed to start. Port 8080 was already in use.

에러 로그

***************************
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.


Process finished with exit code 0

 

Windows 해결 방법

  1. CMD 실행
  2. netstat -ano | findstr 포트번호
    • 포트번호로 PID 확인
  3. tasklist | findstr 2번에서 나온 PID
    • PID로 프로세스 확인
  4. taskkill /f /pid 2번에서 나온 PID
    • PID로 프로세스 종료