톰캣 사용 중인 포트 죽이는 방법


톰캣 사용 중인 포트 죽이는 방법

Port 8005 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). 대충 포트가 이미 사용 중이라는 내용이다. 사용 중인 포트를 죽여줘야 가능한데, 먼저 윈도우 검색창에서 cmd를 관리자 권한으로 실행해준다. netstat -a -o 를 입력 해 준다. 띄어쓰기 잘 해야함!! netstat(스페이스바)-a(스페이스바)-o 그럼 리스트가 길게 쭉 생성이 되는데, 거기서 충돌이 난 포트번호를 검색 해 준다. 제일 끝에 있는 숫자가 PID번호다. 이 번호를 기억 해 둔 뒤 taskkill /f /...


#개발자 #오류기록 #톰캣오류 #포트죽이기

원문링크 : 톰캣 사용 중인 포트 죽이는 방법