상세 컨텐츠

본문 제목

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

오류모음

by moo0357 2022. 6. 6. 18:17

본문

Tomcat이 사용하고 있는 기본 포트(8080, 8009, 8005)가 이미 사용중이라서 생기는 오류이다.

쓰고 있는 포트를 바꿔도 되고, 포트를 사용하고 있는 pid를 확인해서 삭제해주면 된다.

 

 

1.관리자권한으로 cmd창을 열어서 다음을 친다.

2.netstat -p tcp -ano 입력후

 

 0.0.0.0:8080, 0.0.0.0:8009와 127,0,0,1:8005

pid 를 찾아서

ex) taskkill /f /pid 9184

 

출처:https://to-dy.tistory.com/59

관련글 더보기