[Tomcat] 포트 사용중 에러 해결법

Wonjun Seo·2023년 6월 22일
0

Tomcat 서버를 사용하면 한 번씩 마주하게 될 에러이다.

Several ports (5050, 8081) required by Tomcat v9.0 Server at localhost are 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).

에러 해결 방법

  1. 관리자 권한으로 cmd 실행

  2. netstat -ano | findstr :[포트번호]

  3. taskkill /PID [PID] /F

0개의 댓글