솔솔

[Tomcat/에러]Several ports (1, 80) required by Tomcat v9.0 Server at localhost are already in use. 본문

나의보물들/Tomcat

[Tomcat/에러]Several ports (1, 80) required by Tomcat v9.0 Server at localhost are already in use.

솔솔하네 2022. 1. 28. 11:12
반응형

열심히 작업하던 와중 톰캣이 연결 안되고 아래와 같은 에러가 났습니다.

📍 Several ports (1, 80) 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. cmd 창에 들어간다.

 

2. netstat -a -n -o -p tcp를 입력한다

3.  taskkill /f /pid {포트번호}를 입력한다 (현재 충돌이 나고있는 포트를 찾아서 PID를 강제로 종료)

 

4. 해결완료