---
title: "eclipse 设定proxy，仍不能连网的问题"
author: "li.oo"
date: "2012-12-17T20:17:22Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-proxy"
draft: false
lastmod: "2012-12-17T20:17:22Z"
id: 1749227
url: "https://lioo.iteye.com/blog/1749227"
---

有的eclipse在perferences-》General-》Network connection设定代理后，仍不能连接网络下载jar。解决方法：在eclipse.ini下面加：

 

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient

-Dhttp.proxyPort=8080（your port）

-Dhttp.proxyHost=192.168.19.200（your IP）

-Dhttp.nonProxyHosts=localhost|127.0.0.1（排除localhost，和127.0.0.1使用proxy）