Securing Tomcat 6 8080 port
I have installed Linux CentOS 6 with Apache 2 and Tomcat 6. Apache 2 is with PHP module, which have my main and my public website on 80 port. Tomcat 6 is install with Java and JDK with port 8080. My tomcat works as PHP / Java Bridge. I am running my java jar on Tomcat and get its properties in Apache. Untill now every thing is good.
But problem start when Tomcat is accessible from outside. I mean from my public URL (i.e. www . xxx . com:8080 ). I want it like it should only accessible from localhost:8080.
How we can do that. Kindly help me on that.