There is a problem with port number collisions when deploying multiple tomcat on the same server, so you need to modify the Tomcat configuration file Server.xml, as an example of TOMCAT7.
<connector port= "8080" protocol= "http/1.1" connectiontimeout= "60000" redirectport= "8443" disableUploadTimeout= " False "executor=" Tomcatthreadpool "uriencoding=" UTF-8 "/>
Where 8080 is an HTTP port and 8443 is an HTTPS port
<server port= "8005" shutdown= "Shutdown" >
8005 for remote Stop service port
<connector port= "8009" protocol= "ajp/1.3" redirectport= "8443"/>
8009 is the AJP port, Apache can access the 8009 port of Tomcat over the AJP protocol.
1.HTTP port, default 8080, change to 8081 below
<connector port= "8081" protocol= "http/1.1" connectiontimeout= "60000" redirectport= "84 "Disableuploadtimeout=" false "executor=" Tomcatthreadpool "uriencoding=" UTF-8 "/>"
2. Remote Stop service port, default 8005, change to 8006
<server port= "8006" shutdown= "shutdown";
3.AJP Port, default 8009, as modified, 8010
<connector port= "8010" protocol= "ajp/1.3" redirectport= "8443"/>
This article is from the "Lmlinux" blog, make sure to keep this source http://1121914451.blog.51cto.com/11002746/1783808
Port number modification Details When multiple tomcat is deployed on the same server