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

journaldev.com | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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

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

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

    java.net.ConnectException – How to solve Connect Exception | Examples Java Code Geeks - 2016

    javacodegeeks.com | 1 year ago
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    C++ WINSOCK tcpaccept stops accepting connections after an "attack"

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection refused: connect
  6. 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

  1. osvzs 2 times, last 5 days ago
  2. Casper 1 times, last 5 days ago
  3. QrCeric 1 times, last 2 weeks ago
  4. poroszd 1 times, last 4 weeks ago
  5. rp 1 times, last 4 weeks 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:339)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:579)
    9. java.net.Socket.connect(Socket.java:528)
    10. java.net.Socket.<init>(Socket.java:425)
    11. java.net.Socket.<init>(Socket.java:208)
    11 frames
  3. JSch
    Util.createSocket
    1. com.jcraft.jsch.Util.createSocket(Util.java:343)
    1 frame