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

Stack Overflow | shanmu | 8 months 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

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

    Stack Overflow | 8 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 | 2 years 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 | 1 year 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

    Jenkins users - error during "Publish artifacts to SCP Repository"

    nabble.com | 2 years ago
    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out: connect

  1. linxiaolong 1 times, last 2 weeks ago
  2. osvzs 2 times, last 1 month ago
  3. Casper 5 times, last 18 hours ago
  4. QrCeric 1 times, last 1 month ago
  5. poroszd 1 times, last 2 months ago
29 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