How to install two tomcat in one computer

Today,I get a problem,show in the title

Now,I give the answer for it .

Change the following ports that tomcat is listening to in server.xml

    <Connector port="8080"> <- This is the port that tomcat uses to respond to HTTP requests
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> <- this defines two ports, one for the AJP connector (used if you are using tomcat behind an Apache or IIS server) and the port used for HTTPS traffic
    <Server port="8005" shutdown="SHUTDOWN"> <- this is the port that Tomcat uses to respond to SHUTDOWN events

 Good luck

猜你喜欢

转载自chenhailong.iteye.com/blog/1965568