Cannot set HTTP proxy [message #5609] |
Fri, 25 April 2003 14:49  |
Eclipse User |
|
|
|
Originally posted by: ashishshrowty.yahoo.com
Hi,
I am developing a plugin and need to access the internet from within the
plugin. I tried setting the proxyHost and proxyPort through the following
code -
System.getProperties().put("proxySet", "true");
System.getProperties().put("http.proxyHost", "<proxy-server>");
System.getProperties().put("http.proxyPort", "<proxy-port>");
but this doesnt work. However I tried the same settings in a plain java
program (spawned a new VM) and it worked.
|
|
|
Re: Cannot set HTTP proxy [message #7344 is a reply to message #5609] |
Mon, 28 April 2003 08:14  |
Eclipse User |
|
|
|
ashishshrowty@yahoo.com (Ashish Shrowty) wrote in news:b8c00g$hh1$1
@rogue.oti.com:
> Hi,
>
> I am developing a plugin and need to access the internet from within the
> plugin. I tried setting the proxyHost and proxyPort through the following
> code -
>
> System.getProperties().put("proxySet", "true");
> System.getProperties().put("http.proxyHost", "<proxy-server>");
> System.getProperties().put("http.proxyPort", "<proxy-port>");
>
> but this doesnt work. However I tried the same settings in a plain java
> program (spawned a new VM) and it worked.
>
What proxy server do you use ?
Is it authenticated ?
--
Christophe Elek
Eclipse Project
http://www.eclipse.org
|
|
|
Powered by
FUDForum. Page generated in 0.03318 seconds