BinaryClient.ping() has thrown a JedisConnectionException

java.net.ConnectException
Javadoc
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port). @since JDK1.1
at java.net.DualStackPlainSocketImpl.waitForConnect
(Source)
at java.net.DualStackPlainSocketImpl.socketConnect
(Source)
at java.net.AbstractPlainSocketImpl.doConnect
(Source)
at java.net.AbstractPlainSocketImpl.connectToAddress
(Source)
at java.net.AbstractPlainSocketImpl.connect
(Source)
at java.net.PlainSocketImpl.connect
(Source)
at java.net.SocksSocketImpl.connect
(Source)
at java.net.Socket.connect
(Source)
at redis.clients.jedis.Connection.connect
(Source)
redis.clients.jedis.exceptions.JedisConnectionException
at redis.clients.jedis.Connection.connect
(Source)
at redis.clients.jedis.BinaryClient.connect
(Source)
at redis.clients.jedis.Connection.sendCommand
(Source)
at redis.clients.jedis.BinaryClient.ping
(Source)
13 frames hidden

Typical Exception Messages

  1. java.net.ConnectException: Connection refused: connect

Origin

We have seen this error pattern in the following webpages (1)