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 @ 2018-08-17 16:10  冬天不眠  阅读(27539)  评论(0编辑  收藏  举报