java.net.ConnectException: Connection refused: connect

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

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

  • Cannot connect to mysql server
    via by 843854,
  • Pinging a server in Java
    via by 843797,
  • OpenScript : Unable to Launch Brower
    via by 844496,
  • faq [Dinamica EGO]
    via by Unknown author,
  • Debugging fitslim hangs
    via GitHub by starguy
    ,
    • java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120) at java.net.Socket.<init>(Socket.java:273) at java.net.Socket.<init>(Socket.java:100)

    Users with the same issue

    Unknown visitor1 times, last one,
    Casper
    Casper6 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    819 more bugmates