The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Opening ports problem

Discussion in 'General Discussion' started by cbwass, Sep 29, 2006.

  1. cbwass

    cbwass Well-Known Member

    Joined:
    Mar 29, 2002
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Anybody have any ideas why after opening a port in APF firewall it does not work?

    I am trying to enable port 6655 in APF firewall but it does not work.
    I configure 6655 in APF 'IG_TCP_CPORTS', and restart APF.
    When I look in iptables status I see that 6655 is listed as ACCEPT
    When I do 'netstat -an' 6655 is NOT listed as listening all other open ports are listed.
    I have flushed, stoped, restarted iptables.
    I have looked in /etc/sysconfig/iptables-config and it seems OK.

    I am having the exact same problem on 5 servers some useing csf firewall also.
     
  2. cbwass

    cbwass Well-Known Member

    Joined:
    Mar 29, 2002
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Found the problem the application was not running correctly.
     
  3. Manuel_accu

    Manuel_accu Well-Known Member

    Joined:
    Jun 19, 2005
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    when you use netstat -an, it shows only LISTENing port not all open ports in your server.

    If you are running some daemon or serivice or program then it will listen that port and will show in netstat. you need to user comamnd #nmap to check for open ports.

    Thanks,

    Mitul S.
     
Loading...

Share This Page