Programming/Java

[Java] 에러 모음집

개발자 쓔쓔 2023. 3. 3. 14:29
반응형

1. 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.

 

>> 웹 서버 실행시 이미 8080 포트에 대해서 사용하고 있어서, 해당 포트로는 웹서버를 실행할 수 없다는 것이다.

"src/mainresources/application.properties" 파일로 이동하여 "server.port={원하는포트}"로 설정 한 후.

다시 서버를 실행시키면 해당 포트로 웹서버를 확인 할 수 있다. (Tomcat initialized with port(s): 9090 (http))

728x90
반응형