Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable

I have two servers in Docker Swarm, but when I need to add a third server - I get the result:
docker-machine加入节点时出现错误:
Error response from daemon: rpc error: code = 14 desc = grpc: the connection is unavailable
All servers in one network.
所有服务处于同意网络
What could be the problem?
问题是?
From official Docker swarm tutorial
官方文档,对于swarm之旅:
The following ports must be open on your docker hosts.
docker主机之间下面端口应该打开
**TCP port 2377 for cluster management communications
TCP and UDP port 7946 for communication among nodes
UDP port 4789 for overlay network traffic**

To enable this ports run the below command on all your docker hosts. kindly follow the digitalocen article for complete steps.
可以在所有docker hosts上运行以下命令,请参照完整的digitalocen完整步骤

firewall-cmd --add-port=2376/tcp --permanent
firewall-cmd --add-port=2377/tcp --permanent
firewall-cmd --add-port=7946/tcp --permanent
firewall-cmd --add-port=7946/udp --permanent
firewall-cmd --add-port=4789/udp --permanent
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值