If you want to open ports on CentOS 7 (firwalld is enabled by default), run the following command. This is a note for myself.
sudo firewall-cmd --zone=public --permanent --add-port=5000/tcp sudo firewall-cmd --reload
Tech Notes of Mine
If you want to open ports on CentOS 7 (firwalld is enabled by default), run the following command. This is a note for myself.
sudo firewall-cmd --zone=public --permanent --add-port=5000/tcp sudo firewall-cmd --reload