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

猜你喜欢

转载自www.cnblogs.com/syscn/p/redis.html