问题解决步骤:
参考http://jingyan.baidu.com/article/95c9d20dac9040ec4f75617a.html,发现是防火墙未关闭;
那么我们就有两种方法去解决了
- 关闭防火墙
- 设置防火墙开放端口
第一种方法:
//停止 systemctl stop firewalld.service //禁止开机启动 systemctl disable firewalld.service
第二种方法:
//这里发现防火墙是开启的,再来查看防火墙控制的端口 systemctl status firewalld //查看