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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM