0

I'm having a Ubuntu 14.04 server which has a TomCat installation listening on port 8080. I installed CSF today.

Following is netstat -tulpn

tcp6       0      0 :::8080                 :::*                    LISTEN      8278/java

This is my IPV6 part of csf.conf

    # Allow incoming IPv6 TCP ports
TCP6_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,8080"

# Allow outgoing TCP ports
TCP6_OUT = "20,21,22,25,53,80,110,113,443,993,995,8080"

# Allow incoming UDP ports
UDP6_IN = "20,21,53,8080"

# Allow outgoing UDP ports
# To allow outgoing traceroute add 33434:33523 to this list 
UDP6_OUT = "20,21,53,113,123,8080"

Following is the csf -p output

8080/tcp   -/6  -     (8278/root)          /usr/lib/jvm/java-7-openjdk-amd64/bi... /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java

I have restarted csf with csf -r but i cannot connect to port 8080. There are no related error messages on lfd.log and if I diable csf I can connect to TomCat instance running on 8080.

What may be causing this and how to open port 8080 through CSF.

Thank you

  • I presume you are trying to connect via IPv6 to port 8080, correct? Because your csf -p output shows that port 8080 is open only for IPv6. – Cha0s Jan 24 '15 at 17:07
  • Yes trying to connect to port 8080 via IPv6 – SriKolla Jan 24 '15 at 17:09
  • It's a long shot, but is it possible your IPv6 Address is listed on /etc/csf/csf.deny thus blocking your requests when CSF is running? – Cha0s Jan 24 '15 at 17:11
  • Hi, thanx. I rechecked my csf.deny and it does not contain my ip or not even one from my country :( – SriKolla Jan 24 '15 at 17:14
  • What's the output of ip6tables -L -v -n | grep "dpt:8080" ? – Cha0s Jan 24 '15 at 17:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.