ununtu FirewallD is not running
时间: 2023-10-18 16:26:39 浏览: 169
Hi, to check if Firewalld is running on Ubuntu, you can use the following command:
```
sudo systemctl status firewalld
```
This will show you the current status of the Firewalld service. If it's not running, you can start it using:
```
sudo systemctl start firewalld
```
You can also enable Firewalld to start automatically on boot with the command:
```
sudo systemctl enable firewalld
```
Make sure to use `sudo` before the commands to run them with administrative privileges. Let me know if you have any further questions!
相关问题
ubuntu FirewallD is not running
Ubuntu系统使用的是ufw防火墙,而不是FirewallD。如果你想启动ufw防火墙,可以使用以下命令:sudo ufw enable。如果你想停止ufw防火墙,可以使用以下命令:sudo ufw disable。如果你想检查ufw防火墙的状态,可以使用以下命令:sudo ufw status。如果你想开放某个端口,可以使用以下命令:sudo ufw allow <端口号>/<协议>。例如,如果你想开放80端口,可以使用以下命令:sudo ufw allow 80/tcp。
FirewallD is not running [root@VM-16-9-centos mydata]# firewall-cmd --reload FirewallD is not running
FirewallD is a firewall management tool used in CentOS and other Linux distributions. The error message "FirewallD is not running" indicates that the FirewallD service is not currently active or running on your system.
To resolve this issue, you can try starting the FirewallD service using the following command:
```
sudo systemctl start firewalld
```
If the service starts successfully, you should see a message indicating that the FirewallD service has started. You can then try running the `firewall-cmd --reload` command again to reload the firewall rules.
If the issue persists, you may need to check if the FirewallD service is enabled to start at boot. You can do this by running the following command:
```
sudo systemctl enable firewalld
```
This will ensure that the FirewallD service starts automatically when you boot your system.
阅读全文