Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding Tomcat Port Numbers

 
Nikitha Reddy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the default port number of Tomcat?
Can we Change the Port Number.Where we change it(Ie,which Folder Location)


For Single Tomcat Instance,can we run 2 applications with 2 different Port Numbers?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default non-secure port is 8080.
This can be changed in tomcat/conf/server.xml

Yes, you can run two instances of Tomcat.
You'll need to change the connector port and the Shutdown port in one of them to avoid conflicts.
 
I am going to test your electrical conductivity with this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!