본문 바로가기

Backend/Spring

[Error] Several ports (8005, 9090) 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 proc..

 

 

 

 

Several ports (8005, 9090) 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 -p tcp -ano 입력

 

8005, 9090에 해당하는 pid 확인

3. taskkill /f /pid (본인 pid)

 

이후 서버를 실행시키면 된다.