Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-20-2012 #1
- Join Date
- Apr 2012
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.
- 04-21-2012 #2
One way would be to set the firewall to drop any traffic to port 8080.
If there is a setting in Tomcat I do not know.
The adventure of a life time.
Linux User #296285