• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to avoid port number in url

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic