java/오류메모

Several ports (9005, 9090, 9009) required by Tomcat v8.5 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other proces..

Dev갱이 2020. 6. 24. 20:10
728x90

톰켓이 사용해야 할 포트가 이미 사용중이라는 오류였다.

001

> netstat -a -n -o -p tcp

먼저 포트들을 다 출력하고

해당하는 포트가 사용중인지 확인한다.

나같은 경우에는 9090이 이미 돌고 있었다. 그 9090이 돌고 있는 해당 프로세스의 PID를 알아낸다

001

> taskkill /f /pid 4444

 

그놈을 죽이면 끝

다시 프로젝트 재시작하면 됩니다!

728x90