com.jcraft.jsch.JSchException

tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


rafaelrafael
tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


rafaelrafael
tip

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.


rafaelrafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Free hosting for jar server
    via Stack Overflow by megabobik
    ,
  • exception on bundle start
    via by Unknown author,
  • Re: Queries around Http Client Proxy
    via by Vicky,
  • Error in Connection using Sockets
    via by Andy Richard,
    • com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect at com.jcraft.jsch.Util.createSocket(Util.java:349) at com.jcraft.jsch.Session.connect(Session.java:215) at com.jcraft.jsch.Session.connect(Session.java:183) at oehp.ssh.SSHCommandExecutor.main(SSHCommandExecutor.java:29) Caused by: 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.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:208) at com.jcraft.jsch.Util.createSocket(Util.java:343)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    treefolktreefolk
    8 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    PizPiz
    7 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    762 more bugmates