DENIED Redis is running in protected mode because protected mode is enabled, no bind address was

解决方案:

把redis.conf这个配置文件修改如下
把这行代码注释掉
# bind 127.0.0.1 
protected-mode yes 修改为 protected-mode on
protected-mode no 
daemonize yes 修改为 daemonize on
daemonize no 
以配置文件方式启动
redis-server redis.conf 

猜你喜欢

转载自blog.csdn.net/qq_38220334/article/details/108565939