在 conf文件夹中修改 server.xml文件 属性值:
eg:====》
1:<Server port="8005" shutdown="SHUTDOWN">
改为:
<Server port="8035" shutdown="SHUTDOWN">
2: <Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
改为:
<Connector port="8083" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
3:<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
改为:
<Connector port="8039" protocol="AJP/1.3" redirectPort="8443" />
配置成功后!!可以启动多个Tomcate