Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to remove the port number from url

 
kumar uragonda
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Hi all,
I am using Tomcat 5.5 server to run my JSP application.When i tried to run the application,i have to give the URL like this
http://58.68.55.221:8082/NovireApplication/
but actually i want the URL to be given like this
http://NovireApplication.com/

Any solution for the above???
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Configure it to run on the default port?
 
Liangfeng Ren
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Modify tomcat configuration by setting port number to 8000.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
80.
 
Rahul Nair
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, Welcome to JavaRanch!

You need to update your server.xml file which is in "../tomcat/conf/server.xml" and replace the connection port value to "80" instead of "8080".
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is needed is to buy a domain, define a new Host in server.xml with the domain name, and change default http port to 80
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic