eclipse 无法连接到 SOCKS 代理:连接被拒绝

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16644223/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:32:08  来源:igfitidea点击:

Can't connect to SOCKS proxy:Connection refused

eclipseeclipse-plugineclipse-rse

提问by securecurve

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

当我尝试使用 Eclipse 连接到某个 ssh 服务器(以前可以顺利运行)时,它给了我这个错误:

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

无法在“xxxx”上连接 sshd:ProxySOCKS5:com.jcraft.jsch.JSchException:java.net.SocketException:无法连接到 SOCKS 代理:连接被拒绝

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

注意 ssh 连接在 shell 中正常工作,没有任何问题。

回答by securecurve

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 entriesare unchecked.

Window - > preferences - > General -> Network。制作Active Provider-> Direct,其中所有proxy entries都未选中。