Reputation: 175
i am running my java web application using tomcat server and i am accessing it with the url "//localhost:8080/Authority/" . But i want to access it using "//localhost/Authority/" . Pls help me out...
Upvotes: 1
Views: 2521
Reputation: 32831
When the http port is not specifier, it is assumed to be port 80. So your web container must listen on port 80. But on a Unix-like OS, only root can listen to a port number lower that 1024.
Anyway; to change the port number, you need to edit tomcat's server.xml file and change the port number of the http <Connector>
Upvotes: 3