centos 7 allow port through firewall code example
Example 1: centos 7 port open
firewall-cmd --zone=public --add-port=55555/tcp --permanent
firewall-cmd --reload
Example 2: how to allow traffic on port 8080 in centos 7
firewall-cmd --reload
firewall-cmd --zone=public --add-port=55555/tcp --permanent
firewall-cmd --reload
firewall-cmd --reload