2

I am trying to get tomcat7 to listen on port 80 instead of 8080 on ubuntu 12. I changed the server.xml file to point to port 80 instead of port 8080 - when I restart tomcat, the service does not appear to run at all. No other service is currently binding onto port 80. Any thoughts on troubleshooting this would be appreciated.

<Connector port="80" protocol="HTTP/1.1"
           connectionTimeout="20000"
           URIEncoding="UTF-8"
           redirectPort="443" />
ali haider
  • 19,175
  • 17
  • 80
  • 149

1 Answers1

1

I think this is already answered. You can't just set tomcat to listen on 80, you have to adjust iptables (there are other approaches)

How to change the port of Tomcat from 8080 to 80?

Community
  • 1
  • 1
Levin Magruder
  • 1,905
  • 18
  • 26