java.net.ConnectException

Connection refused at java.net.PlainSocketImpl.socketConnect<Native Method>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web13298

  • via Oracle Community by 843798, 11 months ago
    Connection refused at java.net.PlainSocketImpl.socketConnect<Native Method>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
  • Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
  • via hadoop-zookeeper-user by Austin Shoemaker, 9 months ago
    Connection refused * at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java: 333)
  • Stack trace

    • java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect<Native Method>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.<init>(Socket.java:309) at java.net.Socket.<init>(Socket.java:124)

    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

    104 times, 3 minutes ago
    24 times, 3 hours ago
    17 times, 3 days ago
    Unknown user
    Once, 1 week ago
    Once, 3 weeks ago
    592 more bugmates