- 编辑bin/startup.bat
SET JAVA_HOME=...(JDK所在路径)
SET CATALINA_HOME=...(Tomcat解压的路径)
- 编辑server.xml文件
<!--
<Server port="8005" shutdown="SHUTDOWN">
-->
<Server port="8006" shutdown="SHUTDOWN">
<!--
<Connector port="8080" protocol="HTTP/1.1"
connectionTiemeout="20000"
redirectPort="8443" />
-->
<Connector port="8888" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!--
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
-->
<Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />