Port not open
Posted: 05 Sep 2019, 08:33
Hello,
Tried to open a specific port (5200) for an application API. Included the port in the allowed list in csf (csf.conf) and still the port is listed as closed. Looked everywhere for information, even tried to add it to public ports via firewalld, still no success (CentOS 7, cpHulk disabled etc.).
"lsof -i" doesn't show it as listening, neither "netstat -na |grep 5200" shows it.
"iptables-save | grep 5200" results in:
-A INPUT ! -i lo -p tcp -m conntrack --ctstate NEW -m tcp --dport 5200 -j ACCEPT
-A INPUT ! -i lo -p udp -m conntrack --ctstate NEW -m udp --dport 5200 -j ACCEPT
-A OUTPUT ! -o lo -p tcp -m conntrack --ctstate NEW -m tcp --dport 5200 -j ACCEPT
-A OUTPUT ! -o lo -p udp -m conntrack --ctstate NEW -m udp --dport 5200 -j ACCEPT
Any ideas on how to make it public?
Thank you!
Tried to open a specific port (5200) for an application API. Included the port in the allowed list in csf (csf.conf) and still the port is listed as closed. Looked everywhere for information, even tried to add it to public ports via firewalld, still no success (CentOS 7, cpHulk disabled etc.).
"lsof -i" doesn't show it as listening, neither "netstat -na |grep 5200" shows it.
"iptables-save | grep 5200" results in:
-A INPUT ! -i lo -p tcp -m conntrack --ctstate NEW -m tcp --dport 5200 -j ACCEPT
-A INPUT ! -i lo -p udp -m conntrack --ctstate NEW -m udp --dport 5200 -j ACCEPT
-A OUTPUT ! -o lo -p tcp -m conntrack --ctstate NEW -m tcp --dport 5200 -j ACCEPT
-A OUTPUT ! -o lo -p udp -m conntrack --ctstate NEW -m udp --dport 5200 -j ACCEPT
Any ideas on how to make it public?
Thank you!