스프링부트를 사용하다가 포트충돌이 나는 경우가 있다.
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.
해결 방법
lsof -i :8080
후에 PID밑의 번호 확인
kill -9 포트번호
포트 충돌시 에러를 해결할 수 있다!
'🍎 Backend > Spring' 카테고리의 다른 글
[스프링 핵심원리 - 기본편] 섹션8. 빈 생명주기 콜백 (0) | 2024.02.23 |
---|---|
[ Restful API ] REST API란? (1) | 2023.10.22 |
[스프링부트] @Transational(readOnly=true)에 대해서 (0) | 2023.07.21 |