java.net.ConnectException

tip

Check if your MongoDB is available.


rp

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

  • Connecting Python and Java via sockets
    via Stack Overflow by Aditya Singh
    ,
  • JAVA Socket Connection Time out
    via Stack Overflow by Axl
    ,
  • Why no connection?
    via by 843790,
    • java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) 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) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at Client.connect(Client.java:84) at Client.<init>(Client.java:65) at Client.main(Client.java:301)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    linxiaolong
    377 times, last one,
    Handemelindo
    1 times, last one,
    820 more bugmates