连接远程的redis 集群报Could not get a resource from the pool异常

在阿里云Ubuntu新搭建的redis集群,始终无法连接,报Could not get a resource from the pool异常

查找资料发现是redist的一些限制,Protected mode is a layer of security protection, in order to avoid that

Redis instances left open on the internet are accessed and exploited. 就是说出于安全考虑,redis的实例不能在网络上被访问,所以修改protected-mode就好了

所以将redis.conf中的protected-mode yes改为protected-mode no

重启redis实例,以为问题就解决了?发现还是报Could not get a resource from the pool异常

这个是什么情况,要逆天嘛?

查看redis node信息看一下,终于发现了问题


怎么会有172的IP,到这里终于找到问题根源了,修改node.conf配置,重启redis,问题终于解决。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容