Can't connect to SOCKS proxy:Connection refused

securecurve picture securecurve · May 20, 2013 · Viewed 19.4k times · Source

When I try to connect to some ssh server using Eclipse (which used to work smoothly before), it gives me this error:

Failed to connect sshd on "x.x.x.x": ProxySOCKS5: com.jcraft.jsch.JSchException: java.net.SocketException: Can't connect to SOCKS proxy:Connection refused

N.B. The ssh connection is working from the shell with no problems.

Answer

securecurve picture securecurve · May 21, 2013

I got it :))

It was a proxy problem, I wasn't aware of that!!

Go to Window - > preferences - > General -> Network. Make the Active Provider -> Direct, where all the proxy entries are unchecked.