aspose file tools*
The moose likes Tomcat and the fly likes How to change default port of Apache Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to change default port of Apache Tomcat?" Watch "How to change default port of Apache Tomcat?" New topic
Author

How to change default port of Apache Tomcat?

isha krishnan
Ranch Hand

Joined: Nov 10, 2008
Posts: 50
I want to change th defualt port of Apacahe Tomcat 5.5 from 8080 to 8085. I am working on Eclipse IDE 6.0.
Pushkar Choudhary
Rancher

Joined: May 21, 2006
Posts: 425

isha krishnan wrote:I want to change th defualt port of Apacahe Tomcat 5.5 from 8080 to 8085.

Refer the Tomcat FAQ.

isha krishnan wrote:I am working on Eclipse IDE 6.0.

Are you sure it's Eclipse 6.0? The latest Eclipse version that I'm aware of is Eclipse 3.5.1.


P.S.: Moderators, I think this question belongs to the Tomcat forum and should be moved there.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Moving to Tomcat forum.

[My Blog] [JavaRanch Journal]
Ned Ryerson
Greenhorn

Joined: Mar 05, 2010
Posts: 12
To change the port, edit the server.xml file in /conf

for example:

you will see


to change it to port 8090:

Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Ned Ryerson wrote:To change the port, edit the server.xml file in /conf

for example:

you will see


to change it to port 8090:



And if you do that, and have the server plugin installed in Eclipse - then you MUST keep your hands away from the server plugin configuration


Regards, Rene Larsen
Dropbox Invite
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change default port of Apache Tomcat?