安装防火墙
https://blog.csdn.net/mehnr/article/details/80325608
在安装过后,启动防火墙,查看防火墙状态:
对于Centos 7无法正常使用的情况做出如下解决方案
纯净Centos 7
yum install firewalld
systemctl start firewalld
systemctl status firewalld
如果结果如下则正常:
[root@localhost system]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2018-01-30