Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

How to change default port of Apache Tomcat?

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 425
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to Tomcat forum.
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic