redis问题解决 Caused by: io.lettuce.core.RedisException: io.lettuce.core.RedisConnectionException: DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specifie

1找到redis的配置文件 redis.conf

vim redis.conf

修改 protected-mode  yes

改为

protected-mode no

 

注释掉 

#bin 127.0.0.1

 

保存配置文件

:wq

然后带配置文件启动redis

  进入redis/src

./redis-server  ../reids.conf

 

posted @   冬天不眠  阅读(27655)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示