java.net.ConnectException

Connection refused

Samebug tips4

We couldn't find tips for this exception.

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

Solutions on the web5136

  • via Unknown by 3004,
  • via Unknown by Francis,
  • 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.PlainSocketImpl.connect(PlainSocketImpl.java:158) 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:153) at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:3916)

    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

    linxiaolonglinxiaolong
    582 times, last one
    HandemelindoHandemelindo
    Once,
    poroszdporoszd
    5 times, last one
    stigkjstigkj
    4 times, last one
    michallosmichallos
    Once,
    824 more bugmates