스프링 프레임워크
[디버깅] Web server failed to start. Port 8080 was already in use.
내맴이여
2021. 6. 17. 10:37
반응형
1. 시험환경
- 스프링부트
2. 목적
- 에러 해결
Web server failed to start. Port 8080 was already in use.
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
3. 적용
- 가끔씩 스프링 부트를 실행하면 발생하는 에러이다.
4. 결과
- 8080 포트를 사용하는 프로세스를 확인하고, 해당 프로세스를 kill 해야 한다.
netstat -ano | findstr [문자열]
taskkill /F /PID [프로세스ID]
※ 내용이 도움 되셨다면 광고 클릭 한번 부탁드립니다.
반응형