美文网首页
阿里云redis集群Waiting for the cluste

阿里云redis集群Waiting for the cluste

作者: 天天来啦啊 | 来源:发表于2020-01-02 22:20 被阅读0次

我是用docker-compose 建的redis集群,其实建立redis cluster的时候 redis-cli  --cluster create --cluster-replicas 1 192.168.1.10:6390  192.168.1.10:6391 192.168.1.10:6392 192.168.1.10:6393 192.168.1.10:6394 192.168.1.10:6395

确认的时候一直Waiting for the cluster to join 

后来百度了一下,看了网友的建议,建立了一下安全组规则 入网规则,把6390到6395全添加,还有16390-16395都放开,只要是端口在docker-compose里映射了,就全添加到里面,

还有一种可能就是看redis.conf  里面的cluster-announce-ip改一下

就好了

相关文章

网友评论

      本文标题:阿里云redis集群Waiting for the cluste

      本文链接:https://www.haomeiwen.com/subject/tglaoctx.html