JedisConnectionException: Could not get a resource from the pool

Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
	at redis.clients.util.Pool.getResource(Pool.java:53)
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
  1. 密码配置错误
  2. redis的ip配置错误
  3. 没有配置,springboot默认取了localhost:6379
  4. 看读取的是单机redis仍是集群redis,弄错了
相关文章
相关标签/搜索