Win a copy of Design for the Mind this week in the Design 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic