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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by rawlingsj

host port isnt set

,

Check if your MongoDB is available.

Solutions on the web

via iteye.com by Unknown author, 2 years ago
java.net.ConnectException: Connection refused: connect
via Google Groups by Zhenzhong Pan, 1 year ago
java.net. ConnectException: Connection refused [0m
via GitHub by SergioMendes93
, 5 months ago
java.net.ConnectException: Connection refused (Connection refused)
via GitHub by SergioMendes93
, 4 months ago
java.net.ConnectException: Connection refused (Connection refused)
via Stack Overflow by Burujia Bartoli
, 1 year ago
java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at redis.clients.jedis.Connection.connect(Connection.java:158)
at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:80)
at redis.clients.jedis.Connection.sendCommand(Connection.java:100)
at redis.clients.jedis.BinaryClient.set(BinaryClient.java:97)
at redis.clients.jedis.Client.set(Client.java:32)
at com.zm.ri.giovanni.controller.Test.main(Test.java:16)

Users with the same issue

142 times, 18 hours ago
8 times, 1 day ago
552 times, 2 days ago
11 times, 4 days ago
26943 times, 4 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.