This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Tomcat Port Numbers
 
Similar Threads
Servers In Netbeans or Eclipse
How to configure two port numbers for a tomcat server
Query about 'Port' Number??
JMX WEB console acess
Can we have two tomcat's running on the same machine with 2 different port numbers