• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Proxy By-Pass

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any ideas on how i can bypass the proxy servers at my company? I can't recognize something as simple as "http://www.cnn.com", or anything like that (i.e., of that commonality).
Thank you.
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Kevin Wright
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
# 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.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you checked if your proxy uses some type of authentication? Most proxy servers support basic authentication. if that is your case then I think you can find the answer to your problem at this address
Check this url:
http://forum.java.sun.com/thread.jsp?thread=17039&forum=11&message=41092
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic