java.net.ConnectException

Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java: 333)

Samebug tips9

Check if your MongoDB is available.


rprp

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

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

Solutions on the web2643

  • via Unknown by Austin Shoemaker,
  • via Unknown by Austin Shoemaker,
  • via Unknown by Benjamin Reed,
  • Stack trace

    • java.net.ConnectException: Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java: 333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519)

    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

    aidoanaidoan
    2 times, last one
    PilleoPilleo
    19 times, last one
    AxeloAxelo
    14 times, last one
    Unknown UserUnknown User
    Once,
    raytestraytest
    Once,
    386 more bugmates