I have port 5000 via the firewalld in centos 7 as shown below.
firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfaces: ens32 sources: services: dhcpv6-client http ssh ports: 5000/tcp protocols: masquerade: no forward-ports: sourceports: icmp-blocks: rich rules:
Then I check my active zone f
firewall-cmd --get-active-zones public
Then I check the port itself
firewall-cmd --zone=public --query-port=5000/tcp yes
But when I telnet to the port 5000 is not responding what else could be missing in terms of configuration ?
I have checked there is not other firewall cause when I run this systemctl stop firewalld all works fine.
Here is what and how I run the telnet commands
Microsoft Telnet> o *.*.*.* 5000 Connecting To *.*.*.*...Could not open connection to the host, on port 50 00: Connect failed