Computer/JSP Servlet JavaScript

Tomcat 404에러(포트충돌)

미처서 2015. 1. 16. 16:41

Apache Software Foundation\Tomcat 6.0\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 HTTP/1.1 Connector on port 8088

    -->

    <Connector port="8088" protocol="HTTP/1.1" 

               connectionTimeout="20000" 

               redirectPort="8443" />

    <!-- A "Connector" using the shared thread pool-->

    <!--

    <Connector executor="tomcatThreadPool"

               port="8088" protocol="HTTP/1.1" 

               connectionTimeout="20000" 

               redirectPort="8443" />

    -->