标签:防火墙 link host col manage 问题解决 route transient rem
使用swarm搭建集群时出现如下错误:
Error response from daemon: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 192.168.0.108:2377: connect: no route to host"
这个错误是因为将node节点加入swarm中导致的,原因就是manager节点这台机器上的防火墙没有关闭。
只要把manager这台机器上的防火墙关闭即可:
[root@centos-7 ~]# systemctl status firewalld.service
可以看到是绿色的,就是运行中。
[root@centos-7 ~]# systemctl stop firewalld.service
[root@centos-7 ~]# systemctl disable firewalld.service Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service. Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.
这样问题就解决了。
标签:防火墙 link host col manage 问题解决 route transient rem
原文地址:https://www.cnblogs.com/shenjianping/p/12264103.html