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

 

    原文作者:redis
    原文地址: https://www.cnblogs.com/syscn/p/redis.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞