아무거나

tomcat 포트번호 변경 본문

Infra/Tomcat

tomcat 포트번호 변경

전봉근 2019. 4. 23. 10:19
반응형

** 톰캣 포트번호 변경

    톰캣설치경로/conf/server.xml 설정파일에서 변경하자.

    [변경할 내용부분]

    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
         Java AJP  Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
    -->
    <Connector connectionTimeout="20000" port="8090" protocol="HTTP/1.1" redirectPort="8443"/>​ 
반응형
Comments