I’d setup Apache 2.2 with Mod_Jk so that all Tomcat 6 pages is piped through Apache, port 80. Everything work fine, all pages look good.
My question is: How can I close the port 8080 listened by Tomcat ? Since right now all pages are served from port 80 by Apache, the port 8080 from Tomcat should not be accessed by end-user. I don’t have hardware or software firewall in the front to block port 8080.
In Tomcats’ server.xml file, you are going to want to comment out the connector that references port 8080. Typically it would look something like:
Comment it out, restart and that should do it.