redis.clients.jedis.exceptions.JedisConnectionException

java.net.ConnectException: Connection refused

Samebug tips9

host port isnt set

Check if your MongoDB is available.


rprp

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5776

Stack trace

  • redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused at redis.clients.jedis.Connection.connect(Connection.java:164) 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 redis.clients.jedis.Jedis.set(Jedis.java:68) at com.zm.ri.giovanni.controller.Test.main(Test.java:16) Caused by: 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) ... 6 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
LukaLuka
Once,
HandemelindoHandemelindo
2 times, last one
mortalman7mortalman7
Once,
jedcuajedcua
Once,
483 more bugmates