본문 바로가기
ERROR

TOMCAT_Several ports (8005, 9090) required by Tomcat v8.5 Server at localhost are already in use.

by haheaven 2021. 10. 29.

에러메시지 :

Several ports (8005, 9090) 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 process or change the port number(s).

 

-> 이클립스에서 톰캣 사용 중 에러가 나서 강제종료 후 다시 접속하니 이런 오류메시지 발생 

 

해결방법 : 사용된 포트 강제종료하기..

 

1. cmd 열기

 

  >>    netstat -a -n -o -p tcp     입력 후 was에서 사용할 포트번호의 PID 확인하기 

나 같은 경우엔 9090의 사용을 원함 PID => 14852

 

 

 

 

2. 

 >>     taskkill /f /pid 14852     입력하면 종료!

 

 

 

 

3.

>>   netstat -a -n -o -p tcp   다시 확인하기

9090의 사용이 종료됨!

 

 

 

이후 톰캣에서 재접속 성공!

'ERROR' 카테고리의 다른 글

Mac m1_Oracle DB 생성하기  (0) 2021.08.26
SQL_UPDATE 오류  (0) 2021.08.19
이클립스_Console, Package Explorer  (0) 2021.07.24

댓글