Check firewall status: service firewalld status
Start the firewall: servicefirewalld start
Turn off the firewall: service firewalld stop
Restart the firewall:
Open port 80 :
firewall-cmd --zone=public --add-port=80/tcp--permanent
Check port status: n etstat -tunlp
centos to check the port occupancy: netstat -anltup | grep 80