redis主从复制报错
# Error reply to PING from master: '-DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only accepted from the loopback interface. If you want to connect'
给主机配置密码 或者 设置 protected-mode no或者添加bind

本文介绍了当Redis主从复制过程中出现错误时的解决方案。主要针对Redis运行在保护模式下,未设置认证密码的情况,提供了配置修改建议,包括启用密码验证或关闭保护模式等。

被折叠的 条评论
为什么被折叠?



