修改 $TOMCAT_HOME\conf\server.xml文件的三處端口定義,修改成末使用的端口
◆修改http访问端口(默认为8080端口)
<Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080"
minProcessors="5"
maxProcessors="75"
enableLookups="true"
redirectPort="8443"
acceptCount="100"
debug="0"
connectionTimeout="20000"
useURIValidationHack="false"
disableUploadTimeout="true" />
className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080"
minProcessors="5"
maxProcessors="75"
enableLookups="true"
redirectPort="8443"
acceptCount="100"
debug="0"
connectionTimeout="20000"
useURIValidationHack="false"
disableUploadTimeout="true" />
◆修改Shutdown端口(默认为8005端口)
<Server port="8005" shutdown="SHUTDOWN" debug="0">
◆修改8009端口
< Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
port ="8009"
minProcessors ="5"
maxProcessors ="75"
enableLookups ="true"
redirectPort ="8443"
acceptCount ="10"
debug ="0"
connectionTimeout ="20000"
useURIValidationHack ="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />
className="org.apache.coyote.tomcat4.CoyoteConnector"
port ="8009"
minProcessors ="5"
maxProcessors ="75"
enableLookups ="true"
redirectPort ="8443"
acceptCount ="10"
debug ="0"
connectionTimeout ="20000"
useURIValidationHack ="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" />