【问题标题】:Redis Sentinel Error condition on socket for SYNC: Connection refused on Ec2 instance用于 SYNC 的套接字上的 Redis Sentinel 错误条件:Ec2 实例上的连接被拒绝
【发布时间】:2021-11-28 03:41:45
【问题描述】:

我正在尝试将主节点连接到从节点。

我创建了三个实例,一个是主节点,另外两个是从节点

当我在 redis sentinel 中尝试自动故障转移时,两个从节点都得到了这个响应 redis.log

Error condition on socket for SYNC: Connection refused
80231:S 08 Oct 2021 06:27:18.717 * Connecting to MASTER 12.205.144.275:6379
80231:S 08 Oct 2021 06:27:18.717 * MASTER <-> REPLICA sync started 

【问题讨论】:

    标签: amazon-ec2 redis redis-cluster sentinel redis-sentinel


    【解决方案1】:

    确保在防火墙(安全组)中打开 sentinel(26379) 和 Redis(6379) 端口。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-01-03
      • 1970-01-01
      • 2016-08-15
      • 2015-04-12
      • 1970-01-01
      • 1970-01-01
      • 2012-08-02
      • 1970-01-01
      相关资源
      最近更新 更多