IntelliJ Java IDE
The moose likes Tomcat and the fly likes avoid Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "avoid "localhost:8080 " in url" Watch "avoid "localhost:8080 " in url" New topic
Author

avoid "localhost:8080 " in url

jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
hai all,
i have sucessfully develeped a website and is running fine on the tomcat server.i am using mysql database.i am accessing the pages by using the path http://localhost:8080/NNS/NS_Homepage.jsp .it is working fine.
now i want to change the url as i don't want the localhost:8080 to appear.
how do i configure and where in oder to get this.
Thanks in advance
jyothsna
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

look in server.xml. Search for the string "8080" (you'll find it in a host entry). Change that value to 80, save the file, and restart Tomcat.

This will only work if you are not already running another service (like say, a web server) on port 80.
 
IntelliJ Java IDE
 
subject: avoid "localhost:8080 " in url
 
Threads others viewed
servlet is not available
how to change the URL
Help Accessing Jboss on Solaris/Linux
can not see tomcat localhost page when disconnect from internet or lan
Can we change default method from GET to POST
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