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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via journaldev.com by Unknown author, 1 year ago
java.net.ConnectException: Connection refused: connect
via Stack Overflow by Coffee
, 2 years ago
java.net.ConnectException: Connection refused: connect
via usfirst.org by Unknown author, 2 years ago
java.net.ConnectException: Connection refused: connect
via Stack Overflow by jainesh
, 1 year ago
java.net.ConnectException: Connection refused: connect
com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:208)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.