I'm trying to make sure that the machine is accepting tcp connections on port 8245, however I am unable to connect.
When I try from an external machine: telnet myhostname.com 8245
I get:
Unable to connect to remote host: Connection refused
I have already added the port on the host machine via firewall-cmd:
sudo firewall-cmd --zone=public --add-port=8245/tcp --permanent sudo firewall-cmd --reload And confirmed with:
sudo firewall-cmd --list-ports 8245/tcp 80/tcp 443/tcp
And: sudo iptables -L
Chain IN_public_allow (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:8245 ctstate NEW,UNTRACKED
I'm having no issues making telnet connections to ports 80 and 443, so I'm not sure what I'm doing wrong.