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