IDE 에러 해결하기/STS
[STS]Several ports (8005, 8080, 8009) required by XXX are already in use. 오류
아민_
2024. 8. 27. 14:22
728x90
Several ports (8005, 8080, 8009) required by XXX 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).
서버를 시작했을 때 위와 같은 오류 메세지가 발생했다.
이는 8005, 8080, 8009 포트가 이미 사용중이라서 생기는 오류이다.
해결방법
1. 관리자 권한으로 CMD 창을 연다.
2. CMD 창에서 아래의 명령어 입력한다.
netstat -a -o
3. 아래의 사진과 같이 8080 포트를 찾은 후 명령어를 입력해서 포트를 죽인다.
taskkill /f /pid 24032
728x90