상세 컨텐츠

본문 제목

[톰캣 에러] Port 8080 required by Tomcat v9.0 Server at localhost is already in use.

공부✍/에러삽질

by 기며니 2021. 10. 12. 09:34

본문

728x90
728x90

 

✅ 방법 1

01 Port 8080 required by Tomcat v9.0 Server at localhost is 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).

이 에러는 내용과 같이 8080 포트 번호가 이미 사용되고 있다는 의미입니다.

우선 Servers를 눌러서 다음과 같은 화면을 확인하세요.

 

02 포트 번호 변경하기

8080에서 사용하지 않는 포트번호인 8088로 변경하겠습니다

 

✅ 방법 2

01 PID 찾기

netstat -ano | findstr (포트번호)

02 찾은 PID로 프로세스 kill 하기

taskkill /F /pid (pid번호)

 

위의 두 방법 중 하나를 적용하시면

다시 정상적으로 서버가 작동할 것입니다.

728x90
728x90

관련글 더보기

댓글 영역