質問

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...

役に立ちましたか?

解決

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>

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top