에러를 맞았을 때
Web server failed to start. Port 8081 was already in use. 포트가 중복됐다고 실행되지 않을 때(mac)
_zeje
2022. 2. 16. 16:33
반응형
mac
2022-02-16 16:34:18.854 ERROR 29791 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8081 was already in use.
Action:
Identify and stop the process that's listening on port 8081 or configure this application to listen on another port.
Process finished with exit code 0
sudo lsof -i :포트번호
sudo kill -9 pid번호
<예>
sudo lsof -i :8081
sudo kill -9 12345
반응형