com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused

journaldev.com | 4 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java Program to run shell commands on SSH enabled System - JournalDev

    journaldev.com | 4 weeks ago
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused
  2. 0

    JSCH - Invoking from AWS Lambda is erroring but fine when run locally or from EC2 instance

    Stack Overflow | 1 month ago | null
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out (Connection timed out)
  3. 0

    irods server disappears,causes hang in idrop

    GitHub | 3 years ago | michael-conway
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems connecting to storage

    GitHub | 2 years ago | gadgetlabs
    java.net.ConnectException: Connection refused
  6. 0

    Own Server - Stopped Working

    GitHub | 3 years ago | johnthomas00
    java.net.ConnectException: Connection refused

  1. QrCeric 17 times, last 3 days ago
  2. andyglick 56 times, last 2 months ago
  3. tomthomas 1 times, last 2 months ago
  4. stigkj 4 times, last 2 months ago
  5. michallos 1 times, last 2 months ago
27 more registered users
65 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    7. java.net.Socket.connect(Socket.java:528)
    8. java.net.Socket.<init>(Socket.java:425)
    9. java.net.Socket.<init>(Socket.java:208)
    9 frames
  3. JSch
    Util.createSocket
    1. com.jcraft.jsch.Util.createSocket(Util.java:343)
    1 frame