原文:Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException:解決方法

.在自己的服務器中找到redis的配置文件 redis.conf 使用命令vi redis.conf或vim redis.conf .注釋掉 . . . 原因:bind . . . 生效,只能本機訪問redis .將 protected mode yes 改為:protected mode no 原因:把yes改成no,允許外網訪問 . sbin iptables I INPUT p tcp d ...

2021-06-07 11:23 0 19387 推薦指數:

查看詳情

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