FirewallD is not running in CentOS Linux 7.1.1503
17,553
Try
systemctl restart firewalld
Related videos on Youtube
Author by
Love
Updated on September 18, 2022Comments
-
Love almost 2 years
I wanted to add a port 5004 for tcp connection. So I run the command:
firewall-cmd --permanent --add-port=5004/tcp
However I got an error:
FirewallD is not running
So by some research, I run the command to check the status.
systemctl status firewalld
It shows:
firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled) Active: inactive (dead)
So what I need to do?
-
natxo asenjo over 8 yearscrashed? Try restarting it (sudo) systemctl start firewalld (sudo if you are not root and may run systemctl start as root using it)
-
MUY Belgium over 8 years
systemctl restart firewalld
? -
Love over 8 yearsThanks, reboot is working. Please convert the comment to the answer.
-