Redis Could not get a resource from the pool

之前发生过这个情况,怎么解决的忘记了,今天在本地连接远程阿里云服务器的时候,Jedis 客户端又出现这个情况了
排查了

  1. Redis 服务端已启动
  2. redis-cli 进入也正常。
  3. redis 相关配置也正常

telnet 测试端口 ,发现端口不通,才想到阿里云服务的安全组应该没有开放端口号,登录阿里云控制台发现果然是这样,开放了之后就连接成功了。

Could not get a resource from the pool

猜你喜欢

转载自blog.csdn.net/Andy86869/article/details/87949819