我有一个3节点的Redis主/次设置。辅助节点被配置为的副本。我的设置已经运行了几年,上周由于某些原因,我的服务器重新启动了,我们的应用程序无法连接到主服务器。我可以ssh到机器并使用redis-cli,但不能从不同的机器/远程使用redis-cli连接到服务器。我必须更改bind 127.0.0.1 my.server.ip to bind 0.0.0.0.的绑定属性,有人能帮我找出原因吗?谢谢!!我的主redis.conf如下所示
bind 127.0.0.1 my.server.ip
requirepass foobared
protected-mode yes副本redis.conf
bind 127.0.0.1
replicaof my.server.ip 6379
masterauth foobared
protected-mode yes发布于 2021-09-09 19:29:37
protected-mode yes禁止来自公网IP的连接,详细信息为https://redis.io/topics/security
https://stackoverflow.com/questions/69118917
复制相似问题