6台阿里云的机子,我最终环境都搭建好了,最后在执行
./redis-trib.rb create --replicas 1 106.14.30.33:5001 101.132.26.107:5002 47.100.254.46:5003 139.196.127.59:5004 139.196.127.59:5005 106.14.30.92:5006 报错[ERR] Sorry, can’t connect to node 139.196.127.59:5005
我的ip都是阿里云真实外网主机的IP,端口是宿主机的端口,每一台宿主机的端口都是对应docker里redis的6379端口。
按照老师代码最后执行
./redis-trib.rb create --replicas 1 106.14.30.33:6379 101.132.26.107:6379 47.100.254.46:6379 139.196.127.59:6379 139.196.127.59:6379 106.14.30.92:6379 也是报相同错误