본문 바로가기

Developer/Web

톰캣 에러 조치방법(The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports)

반응형

톰캣으로 디버그 실행 시 발생하는 오류를 해결하는 방법 정리

 

에러메시지

The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports

위와 같은 에러는 이클립스에서 톰캣을 사용하는 경우에 발생

 

조치방법

위 이미지 하단의 서버를 더블 클릭합니다.

오른쪽 Port Name에서 Tomcat Admin port Port Number를 사용하지 않는 포트번호로 입력합니다.

여기서는 9000번으로 입력하겠습니다. 포트번호를 입력한 후 내용을 저장합니다.(ctrl+s)

그리고나서 톰캣, 이클립스 재시작하면 문제가 해결됩니다.

반응형