java.net.ConnectException

Connection refused


Samebug tips9

Check if your MongoDB is available.

host port isnt set

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


Solutions on the web13435

Solution icon of github
via GitHub by richtera
, 5 months ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by gbrost
, 8 months ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by jpolchlo
, 3 days ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by Patheek1971
, 5 months ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by yshussain
, 4 months ago
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)

Solution icon of github
Connection refused (Connection refused)

Solution icon of github
via GitHub by djeang
, 1 week ago
Connection refused (Connection refused)

Solution icon of github
via GitHub by damianoneill
, 6 months ago
Connection refused (Connection refused)

Stack trace

  • java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589)

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

3 times, 2 weeks ago
3 times, 2 weeks ago
21 times, 3 weeks ago
Once, 1 month ago
13 times, 1 month ago
491 more bugmates