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
Can't connect to SOCKS proxy:Connection refused
提问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 entries
are unchecked.
去Window - > preferences - > General -> Network
。制作Active Provider
-> Direct
,其中所有proxy entries
都未选中。