You probably can't (at least not without the co-operation of your system administrator). But the problem seems to be, rather, that you want use the proxy rather than trying to bypass it (and failing)! Set the http.proxyHost and http.proxyPort system properties (e.g. by setting them on the java command line: java -Dhttp.proxyHost=foo -Dhttp.proxyPort=bar my.Class). The jdk 1.4 documentation has a list of all networking related properties in docs/guide/net/properties.html. - Peter
Joined: Jul 10, 2001
Thanks, that worked for me...yeah, i really don't care how i deal with the proxies as long as i can get messages out. Kevin
# The jdk 1.4 documentation has a list of all # networking related properties in # docs/guide/net/properties.html. Is https.proxyHost and https.proxyPort not supported anymore in Java 1.4? I checked the docs/guide/net/properties.html and didn't find the said properties which are very important when you are accessing https sites through a proxy server. Currently I'm having difficulties accessing https sites through a proxy server setting. Although I can set the proxy IP address and port using the https.proxyHost and https.proxyPort properties, my client app is receiving error 407 authentication error from the proxy server. Is there a way where I can set the username/password needed for the proxy server authentication? I'm aware that most proxy servers do not parse https streams since this stream is transmitted through SSL.