728x90

Several ports (8005, 8080, 8009) required by Tomcat v9.0 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 process or change the port number(s).


1. 문제확인

> was 재시작을 위한 포트가 이미 사용중이기 때문이다.


2. 문제해결

> 다음과 같이 포트를 사용하고 있는 pid를 확인하여 강제 종료 시켜준다.

> netstat -a -n -o -p tcp

 


 – 포트를 사용중인 pid는 4444 이다

> taskkill /f /pid 4444

 

 – 해당 프로세스가 종료되었다. 다시 포트를 확인해본다.

> netstat -a -n -o -p tcp


– 이제 포트를 사용할 수 있게 되었다. was를 시작하면 에러가 발생하지 않는다.

728x90