Tomcat 에러

민지·2021년 11월 12일
0

Java

목록 보기
3/21

Launching Tomcat v9.0 Server at localhost' has encountered a problem.

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.

Tomcat의 기본 포트 8080이 이미 사용중이랜다.
쓰고 있는 포트를 바꿔도 되고, 포트를 사용하고 있는 pid를 확인해서 삭제해주면 된다.

관리자 권한으로 cmd창을 열어서

netstat -p tcp -ano

taskkill /f /pid 3568

netstat -p tcp -ano

8080 포트가 지워진지 확인해주기
이제 8080 포트를 사용할 수 있게 되었다.

profile
개발일지

0개의 댓글