Jedis cannot connect to Redis.

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.PlainSocketImpl.socketConnect
(source)
at java.net.PlainSocketImpl.doConnect
at java.net.PlainSocketImpl.connectToAddress
at java.net.PlainSocketImpl.connect
at java.net.SocksSocketImpl.connect
(source)
at java.net.Socket.connect
(source)
at redis.clients.jedis.Connection.connect
(source)
6 frames hidden

Typical Exception Messages

  1. Connection refused: connect
  2. Connection refused

Origin

Socket.connect() has thrown a ConnectException

java.net.ConnectException
5 frames hidden
java.net.Socket.connect
1922Web pages

Similar

Specific cases

External results for this pattern (5)

  1. zhangmeng0426via GitHub2 weeks ago
    Connection refused: connect
    Show stack trace
  2. Unknown authorvia iteye.com4 weeks ago
    Connection refused: connect
    Show stack trace
  3. Sonali Palkarvia Google Groups1 month ago
  4. superleovia Stack Overflow4 months ago
    Connection refused: connect
    Show stack trace
  5. Sonali Palkarvia Google Groups10 months ago