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.205.10:2377: connect: connection refused”
老师,我遇到了这个问题,我看好多同学也遇到了一样的问题,但是并没有从中找到解决办法。
可以ping通,但是telnet的结果:telnet: connect to address 192.168.205.10: Connection refused
我把 manager 的 firewalld 也 stop 了
manager 的结果:
Swarm initialized: current node (dqgh9w23bypbm06i7y2k2uhva) is now a manager.
To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-2zwqp51y4mqvlx9aeue2qyz6x26j79mv12hw7sdysskwdfpqll-f5fwyk4yyix9zqv6z4giq7jag 192.168.205.10:2377
To add a manager to this swarm, run ‘docker swarm join-token manager’ and follow the instructions.
如果我把worker1作为manager,把manager和worker2加入进worker1,就没有问题。
请问这是什么原因?