✅ 상황
→ 서버 실행시 발생
✅ 오류
→ 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).
✅ 문제원인
→ 80 포트 번호가 이미 사용 중
✅ 해결방법
→ 포트 죽이기
터미널 열기
lsof -i :80 치면
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME 뜨는데
kill -9 PID뜬번호 입력
서버 재실행