Could not get a resource from the pool] with root cause的错误
来源:2-4 linux下源码安装redis

Fall_Flower
2022-03-14
想问一下,redis服务器的host地址:10.110.3.62是怎么来的,我那本机Windows的命令行ping不到(我的redis是安装再虚拟机上的CentOS7上的),
后来我设置了虚拟机的IP地址,并且也修改了配置文件里面的IP地址。试验本机ping虚拟机IP,虚拟机ping本机IP都能收到,虚拟机和windows的防火墙都关了,redis正常开启,在linux界面set key1再get也能正常运行,但是就是会报Could not get a resource from the pool get a resource from the pool] with root cause的错误
另外,我已经按照文档里面的redis连接不上的方法,修改配置:bind 0.0.0.0,关闭了防火墙,检查application.properties配置文件,检查redis.conf配置文件,真的不知道哪里有问题了
写回答
1回答
-
若鱼1919
2022-03-14
10.110.3.62是我的服务器的ip,你需要换成你自己的服务器的IP
00
相似问题