문제

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