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

Stack Overflow | shanmu | 3 months ago
  1. 0

    how to resolve this error:com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect

    Stack Overflow | 3 months ago | shanmu
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect
  2. 0

    In my Java SFTP class, why am I getting this java.net.ConnectException?

    Stack Overflow | 1 year ago | Coffee
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect
  3. 0

    File Upload using SFTP

    Stack Overflow | 1 year ago | jainesh
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring Integration | DSL

    Stack Overflow | 8 months ago | Anshul Bhatnagar
    org.springframework.messaging.MessagingException: ; nested exception is org.springframework.messaging.MessagingException: Failed to execute on session; nested exception is java.lang.IllegalStateException: failed to create SFTP Session
  6. 0

    [ControlTier] Ctl-exec with -s not working when ssh is not running on 22

    Google Groups | 7 years ago | karthik kumar
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused

  1. michallos 1 times, last 7 days ago
  2. treefolk 2 times, last 3 days ago
  3. linxiaolong 18 times, last 4 weeks ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 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: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.<init>
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    9. java.net.Socket.connect(Socket.java:538)
    10. java.net.Socket.<init>(Socket.java:434)
    11. java.net.Socket.<init>(Socket.java:211)
    11 frames
  3. JSch
    Session.connect
    1. com.jcraft.jsch.Util.createSocket(Util.java:343)
    2. com.jcraft.jsch.Session.connect(Session.java:215)
    3. com.jcraft.jsch.Session.connect(Session.java:183)
    3 frames
  4. com.hpe.cdsh
    GenerateExcel.main
    1. com.hpe.cdsh.cadence.GenerateExcel.main(GenerateExcel.java:28)
    1 frame