Eclipse不能通过代理连接到互联网 [英] Eclipse not connecting to internet via proxy

查看:564
本文介绍了Eclipse不能通过代理连接到互联网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的日食(juno 4.2,centos 5.6)没有连接到互联网。在所有我有代理服务器设置。

My eclipse(juno 4.2, centos 5.6) doesn't connect to internet. At all. I have a proxy server setup.

我看了一下 Eclipse无法连接到互联网
和其他各种问题。所以,目前我的eclipse.ini文件看起来像这样:

I had a look at Eclipse can not connect to internet and at various other questions. So, at the moment, my eclipse.ini file looks like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-Dhttp.proxyHost=192.168.1.21
-Dhttp.proxyPort=3128
-Dhttp.nonProxyHosts=localhost|127.0.0.1
-Djava.net.preferIPv4Stack=true
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx512m

我还尝试在首选项中设置代理服务器值(首选项/网络连接) - 设置HTTP,HTTPS,SOCKS主机,端口&证书。但是没有一个Active Provider设置(Manual,Native,Direct)对我有用。

I also tried setting proxy server values in the preferences(preferences/Network Connections) - set the HTTP, HTTPS, SOCKS host, port & credentials. But none of the Active Provider settings(Manual, Native, Direct) work for me.

我花了足够的时间知道我需要帮助。厉害。 :p

I've spent enough time on this to know that I need help. Badly. :P

所以,这里我是...帮助!!

So, here I am...help!!

推荐答案

我可以通过在网络连接部分的首选项UI进行此操作。我必须将主动提供商设置为手动和然后提供下面的代理服务器详细信息。

I was able to do this through the preferences UI, under the 'Network Connection' section. I had to set 'Active Provider' to 'Manual' & then provide proxy server details below that.

这篇关于Eclipse不能通过代理连接到互联网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆