firewalld is not running code example
Example 1: firewalld not running centos 7
systemctl start firewalld
Example 2: FirewallD is not running
# check the status of the service (running and eanbled)
systemctl status firewalld
# if the service is not running, start it
systemctl start firewalld
# if the service has exited , restart it(check for error if any)
systemctl restart firewalld
# if the service is not enabled, enable it
systemctl enable firewalld
Example 3: is firewall running centos 7
systemctl status firewalld