changing the default port no of tomcat in ubuntu
Posted
by
codeomnitrix
on Server Fault
See other posts from Server Fault
or by codeomnitrix
Published on 2011-03-02T16:19:55Z
Indexed on
2012/06/29
21:18 UTC
Read the original article
Hit count: 242
Hii all i am trying to change the port no of my tomcat server installed in ubuntu. for this i have changed the file server.xml
and made a change there as:
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
But the problem is that whenever i try to open the localhost:8081
it is working fine but when i tried to open localhost:8080
then it is still accessible. So please explain this why this is happening.
Secondly when i made the default port to 80 then localhost:80
or localhost
then it was not accessible. So please explain this why this is happening.
Thanks in advance.
© Server Fault or respective owner