redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused: connect

Stack Overflow | Paul Verest | 3 months ago
  1. 0

    Check/connect to Redis running within docker from Java(Spring Boot) or Node.js

    Stack Overflow | 3 months ago | Paul Verest
    redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused: connect
  2. 0

    GitHub comment 1405#255518208

    GitHub | 2 months ago | zongwu233
    redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused
  3. 0

    proxy's address is "localhost:19000"

    GitHub | 2 years ago | youwoa
    redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    spring boot enable redis http session

    Stack Overflow | 2 years ago | peEtric
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  6. 0

    Exception embedded connection refused

    GitHub | 2 years ago | xenoterracide
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

  1. richard77 2 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. kjhdofjosvs 20 times, last 2 weeks ago
  4. Andreas Häber 9 times, last 3 weeks ago
  5. Aria Pahlavan 2 times, last 3 weeks ago
45 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)[na:1.8.0_45]
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)[na:1.8.0_45]
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[na:1.8.0_45]
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_45]
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_45]
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)[na:1.8.0_45]
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_45]
    8. java.net.Socket.connect(Socket.java:589)[na:1.8.0_45]
    8 frames
  3. Jedis
    JedisFactory.makeObject
    1. redis.clients.jedis.Connection.connect(Connection.java:158)[jedis-2.8.2.jar:na]
    2. redis.clients.jedis.Connection.connect(Connection.java:164)[jedis-2.8.2.jar:na]
    3. redis.clients.jedis.BinaryClient.connect(BinaryClient.java:80)[jedis-2.8.2.jar:na]
    4. redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1677)[jedis-2.8.2.jar:na]
    5. redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:87)[jedis-2.8.2.jar:na]
    5 frames
  4. Apache Commons Pool
    GenericObjectPool.borrowObject
    1. org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)[commons-pool2-2.4.2.jar:2.4.2]
    2. org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)[commons-pool2-2.4.2.jar:2.4.2]
    3. org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)[commons-pool2-2.4.2.jar:2.4.2]
    3 frames
  5. Jedis
    Pool.getResource
    1. redis.clients.util.Pool.getResource(Pool.java:49)[jedis-2.8.2.jar:na]
    1 frame