com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out: 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

,

Check if your MongoDB is available.

,

Check if your MariaDB is running and available.

Solutions on the web

via Stack Overflow by skaryu
, 1 year ago
java.net.ConnectException: Connection timed out: 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 timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(Unknown Source)
at java.net.Socket.(Unknown Source)
at com.jcraft.jsch.Util.createSocket(Util.java:252)
at com.jcraft.jsch.Session.connect(Session.java:186)
at com.jcraft.jsch.Session.connect(Session.java:145)
at test.JSch.TestJSch.main(TestJSch.java:17)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
948 more bugmates

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