firewall add port centos 7 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 --zone=public --permanent --add-port=8080/tcp
Example 3: how to allow traffic on port 8080 in centos 7
firewall-cmd --reload