Several ports (8005, 8080, 8009) required by Tomcat v6.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..

Several ports (8005, 8080, 8009) required by Tomcat v6.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).




이클립스로 하다보면 가끔 저런 문구가 뜬다.


뭐 이미 톰캣을 사용하는거다 뭐다 하는 것이다.


한 마디로 중복이라는 것인데


다른것 다 필요없고 일단 cmd부터 실행시킨다.


cmd에다가 netstat -a -o를 쳐준다.



이렇게 잡다한 것들이 뜰것이다.


이제 여기서 아까 문제인 톰캣 중복인 놈들을 찾아가서 죽이면 된다.


어떻게 하느냐



위쪽에 주소가 톰캣주소인 PID를 본다.


나같은 경우 10772인데 이걸 죽이면된다.


이제 찾았으니 바로 kill하면 된다.


다시 cmd


명령어는  taskkill  /f  /pid id  입력하면 끝이다.


taskkill  /f  /pid 10772 이런식이다.


요약


  1. cmd 실행

  2. netstat -a -o 친다

  3. taskkill  /f  /pid id 친다

그래도 안된다? 재부팅 ㄱㄱ

 

포스팅 끝




댓글

Designed by JB FACTORY