• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

port

 
manogna edintipal
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I change the port no of tomcat

i mean my server is accessd from browser as "http://localhost".

How can i change it to access as "http://localhost:8080"

Thanks in advance
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in conf/server.xml file. There are all settings for tomcat.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will run into difficulties assigning any port under 1024 (assuming this is a Unix-ish OS), because those ports require root privileges. In that case you may need to front Tomcat with Apache.
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like the change should be from 80 to 8080, which is really strange. I suppose 8080 is by default.
Are you using web server with tomcat?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic