This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Regarding Tomcat Port Numbers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Regarding Tomcat Port Numbers" Watch "Regarding Tomcat Port Numbers" New topic
Author

Regarding Tomcat Port Numbers

Nikitha Reddy
Greenhorn

Joined: Feb 28, 2007
Posts: 12
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
jQuery in Action, 2nd edition
 
subject: Regarding Tomcat Port Numbers
 
Similar Threads
JMX WEB console acess
Servers In Netbeans or Eclipse
Query about 'Port' Number??
Can we have two tomcat's running on the same machine with 2 different port numbers
How to configure two port numbers for a tomcat server