Tomcat6 stops listening on port 80 when i change from port 8080 to port 80
my server is running Centos 5.7. i have installed tomcat6, tomcat6-webapps, tomcat6-admin-webapps.
first, i change http port from 80 to 8081 at file: /etc/httpd/conf/httpd.conf --> it runs with that port ok
second, change port in /etc/tomcat6/server.xml from 8080 to 80.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
to
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
URIEncoding="UTF-8"
redirectPort="8443" />
after restarting tomcat6, it still runs on 8080 port instead of 80.
please help me. Thank you.
|