Mac 사용중인 포트 찾아서 죽이기

조승현·2022년 9월 5일
0

사용중인 에러가 생길 경우
맥 터미널에서 포트 찾기

  • 에러 내용
    Port 80 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).
lsof -i :포트번호

포트 죽이기

kill -9 PID번호

profile
소통을 좋아하는 개발자입니다

0개의 댓글