I have port 5000 via the firewalld in centos 7 as shown below. firewall-cmd --list-allpublic (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  ffirewall-cmd --get-active-zonespublicThen I check the port itself firewall-cmd --zone=public --query-port=5000/tcpyesBut 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 commandsMicrosoft Telnet> o *.*.*.*  5000Connecting To *.*.*.*...Could not open connection to the host, on port  5000: Connect failed
Centos 7 firewalld opened a port but cannot get connected
centos;port forwarding;firewalld