Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change default port of Apache Tomcat?

 
isha krishnan
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 425
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Tomcat forum.
 
Ned Ryerson
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic