tomcat多个部署防止端口冲突

防止多个tomcat部署启动时端口冲突,需要修改如下三处端口号

1.  <Server port="8005" shutdown="SHUTDOWN">

2.  <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

3.  <Connector port=" 8009" protocol="AJP/1.3" redirectPort="8443" />

你可能感兴趣的:(tomcat,server)