반응형

Serveral ports (8005,8888) 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).
Tomcat 구동시 포트오류가 발생했다. 이클립스의 서버가 비정상적으로 종료될 경우에 발생한다
포트 번호 설정에서 포트를 바꿔도 되고 프로토콜 관리에서 포트를 사용하고 있는 프로세스를 종료해줘도 된다.
프로세스 종료하기
1. cmd 창에서 아래 명령어를 입력한다
netstat -p tcp -ano

2. 해당 포트 번호를 사용중인 프로세스를 찾아 pid를 확인 후 삭제해준다
taskkill /f /pid [pid_number]
위의 이미지에서는 taskkill /f /pid 21352 이다.
반응형