解决了,我把centor7的防火墙关闭了, systemctl stop firewalld #停止firewall systemctl disable firewalld #禁止firewall开机启动