톰캣 서버 강제 종료

:)·2024년 3월 11일

개발

목록 보기
8/19

'Startin Tomcat v9.0 Server at localhost' has encountered a problem.
Server Tomcat v9.0 at localhost failed to start.

혹은

Server at localhost is already in use.

같은 오류 발생시 톰캣 서버를 강제로 종료시키는 방법이다.

cmd 실행

윈도우 창 아래에 있는 검색에 cmd 를 검색후 관리자 권한으로 실행한다.

netstat -ano | findstr 80

(80대신 본인이 사용중인 서버를 적어도 된다.

8080에 있는 12500을 기억한다.

taskkill /f /pid 12500

pid 뒤에는 본인의 서버에서 나온 숫자를 적으면 된다.

profile
:) GITHUB: https://github.com/YJ2123412

0개의 댓글