Connection refused: connect at Method) at

Samebug tips9

Check if your MongoDB is available.


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 web2651

  • via Unknown by Astro,
  • Stack trace

    • Connection refused: connect at Method) at at at at at at at at com.mongodb.connection.SocketStreamHelper.initialize( at

    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

    19 times, last one
    14 times, last one
    Unknown UserUnknown User
    13 times, last one
    389 more bugmates