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 web13183

  • Connection refused (Connection refused)
  • Connection refused (Connection refused)
  • 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:350) 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 jcifs.smb.SmbTransport.ssn139(SmbTransport.java:196) at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:249) at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:322) at jcifs.util.transport.Transport.run(Transport.java:241) at java.lang.Thread.run(Thread.java:745) at jcifs.util.transport.Transport.run(Transport.java:258) at java.lang.Thread.run(Thread.java:745)

    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

    Once, 3 days ago
    Once, 3 weeks ago
    13 times, 3 weeks ago
    4 times, 1 month ago
    Once, 1 month ago
    483 more bugmates