centos使用curl: (7) Failed connect to ip:80; No route to host

使用curl时,提示如下报错:

curl: (7) Failed connect to ip:80; No route to host

centos 7 搭建lvs dr模式 测试报错

curl: (7) Failed connect to 192.168.59.111:80; No route to host

图片[1]-centos使用curl: (7) Failed connect to ip:80; No route to host-下雪啦资源网

查看RS 1的防火墙

图片[2]-centos使用curl: (7) Failed connect to ip:80; No route to host-下雪啦资源网

是开启的状态,关掉

#systemctl stop firewalld

图片[3]-centos使用curl: (7) Failed connect to ip:80; No route to host-下雪啦资源网

最后关掉防火墙即可。

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容