aspose file tools
The moose likes Tomcat and the fly likes how to avoid port number in url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to avoid port number in url" Watch "how to avoid port number in url" New topic
Author

how to avoid port number in url

zimbu bolleddu
Ranch Hand

Joined: Jan 14, 2008
Posts: 35
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

Joined: Mar 22, 2005
Posts: 42952
    
  73
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to avoid port number in url