centos open port 8089 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