Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Red face 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.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    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
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts