• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to avoid port number in url

 
zimbu bolleddu
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

now I'm using to access my application like :

http://system ip:8080/application

but I don't want to use like that, instead of that I want like some name (some.com) in local intranet.

I heard like have to change in host file from operating system .

I'm using windows xp to develop the applications and target system is windows 2008 server.

my webserver is tomcat 6.0

please help me out.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The port is set in the TOMCAT_HOME/conf/server.xml file; search for "8080". If you use "80" -which is the default port for HTTP- you don't need to specify it in the URL. You'll need to restart Tomcat after making this change. Make sure you don't have IIS running on port 80.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic