简体   繁体   English

SYNC 套接字上的 Redis Sentinel 错误条件:Ec2 实例上的连接被拒绝

[英]Redis Sentinel Error condition on socket for SYNC: Connection refused on Ec2 instance

I am trying to connect the master node to slave nodes.我正在尝试将主节点连接到从节点。

I have created three instances one is master node and another two instance is slave nodes我创建了三个实例,一个是主节点,另外两个实例是从节点

when i am trying automatic failover in redis sentinel both of the slave node got this response redis.log当我在 redis 哨兵中尝试自动故障转移时,两个从节点都得到了这个响应 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 

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM