Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Cannot set HTTP proxy
Cannot set HTTP proxy [message #5609] Fri, 25 April 2003 14:49 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:having trouble with existing CVS project
Next Topic:newbie question - formating of Java files
Goto Forum:
  


Current Time: Sun May 11 20:00:46 EDT 2025

Powered by FUDForum. Page generated in 0.03318 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top