Run multiple tomcat at same time
If you want to run multiple tomcat runs concurrently, then you can run them at same times.
But you just need to change port number into server.xml file.
To change port number you just follow these steps.
1. Go to tomcat x/conf/server.xml
2. In server.xml file you will see connector tag.
3. there are port attribute in connector tag.
4. Change the value of port attribute.
5. save file and restrart tomcat.
Ex.
<connector port="8181" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
No comments:
Post a Comment