Execution: ` firewall CMD — zone = public — add port = 8081/TCP — permanent`
The following error is prompted
`FirewallD is not running`
The reason is that the firewall is not turned on
solve:
1. Check firewall status:
Execute ` systemctl status firewalld`
Display dead status
2. Modify firewall status
Execute ` systemctl start firewalld`
Re execution ` Systemctl status firewalld ` check whether the modification is successful
3. Reopen the port
`Firewall CMD — zone = public — add port = 8081/TCP — permanent ‘
4. Turn off the firewall, or you won’t be able to access it
`systemctl stop firewalld`
Similar Posts:
- [Solved] Centos7 Failed to start iptables.service: Unit not found
- [Solved] Centos7 Error: Failed to start iptables.service: Unit not found
- [Solved] CentOS 7.9 Install MySQL Error: 2003- cannot connect to mysql server on ‘10.10.1.202’(10060 “Unknown error”)
- [Solved] CentOS 7.2 Startup Error: Failed to start IPv4 firewall with iptables
- Vsftp: 425 FTP connection failed [How to Solve]
- [Solved] Centos7 linux ailed to stop iptables.service: Unit iptables.service not loaded.
- A dependency job for docker.service failed
- [Solved] MySQL Connect Error: Can’t connect to MySQL server on ‘ ‘(61)
- Rabbitmq error of connecting the native idea to Linux: java.net.connectexception: connection timed out: Connect [Solved]
- Solve the problem of SSH Connection closed by foreign host