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 web13204

  • via GitHub by richtera
    , 4 months ago
    Connection refused (Connection refused)
  • via GitHub by gbrost
    , 7 months ago
    Connection refused (Connection refused)
  • via GitHub by Patheek1971
    , 4 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:327) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at java.net.Socket.connect(Socket.java:546)

    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

    18 times, 8 hours ago
    13 times, 1 week ago
    39 times, 2 weeks ago
    Once, 3 weeks ago
    13 times, 4 weeks ago
    485 more bugmates