Skip to main content

Open specific Port in Centos

to Open a specific port in centos you need to use these commands 

 firewall-cmd --zone=public --add-port=10000/tcp --permanent

then reload the firewall

firewall-cmd --reload
 

 

 

Tags