spring

Port 8080 was already in use. 에러 해결

kimkim615 2024. 7. 25. 02:11

에러 메세지 : 

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.

 

해결 :

 

cmd 에서

netstat -a -o

 

위 명령어를 통해 port 8080의 pid 번호를 찾는다

 

taskkill /f /pid PID번호

 

포트를 강제 종료시킨다