aspose file tools
The moose likes Tomcat and the fly likes Taking the port connection off the url Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Taking the port connection off the url" Watch "Taking the port connection off the url" New topic
Author

Taking the port connection off the url

Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 119
How can I specify
http://127.0.0.1/WebApllication
instead of
http://127.0.0.1:8080/WebApplication
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1177

You need to change the port from 8080 to 80 in '<tomcat_install>/conf/server.xml'
Rene


Regards, Rene Larsen
Dropbox Invite
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2559

And this is where you find how to do this, along with other important configurations -
http://www.moreservlets.com/Using-Tomcat-4.html
HTH,
- Manish
Nicholas Turner
Ranch Hand

Joined: May 24, 2003
Posts: 119
may I ask the reason its 8080?
Brusk Baran
Ranch Hand

Joined: Nov 15, 2001
Posts: 132
Nicholas,
it is by default 8080
b'cos they think at port 80 which is by default the port any http-protocol-utilizing application (like browser) tries to connect works a web server, IIS or Apache ....
so sth over 1024 is decided. 1024 is sth. related with permissions on Unix clones. till 65536 one can assign anything in between..$
hope it helps.
 
 
subject: Taking the port connection off the url
 
Threads others viewed
Server was disconnected
tomcat
http://localhost:8080 not working but http://127.0.0.1 is working
starting problem of tomcat
How to run struts example in tomcat
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture