“更改tomcat端口号”的版本间的差异

来自个人维基
跳转至: 导航搜索
(以“打开 conf/server.xml,更改以下内容即可: <pre> <!-- A "Connector" represents an endpoint by which requests are received and responses are re...”为内容创建页面)
 

2015年5月6日 (三) 16:27的最后版本

打开 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 8080
    -->
    <Connector port="80" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />