• 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Howto allow java net access solely through HTTP proxy?

Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I must refactor an application which uses http client to look for updates on the internet. Problem is, some users don't access the internet directly but through a http proxy e.g. proxserver.com:8118.

I have a windows box with normal internet access. I thought ok, just use Zone Alarm to deny the java.exe access to the internet while allowing access to the safe zone. Then use Privoxy (http://www.privoxy.org/) as Http Proxy. Privoxy has the right to use the internet. The dumb thing is though the http client uses Privoxy it is denied access to the internet for some stupid reason in the ZoneAlarm Software.

Does anyone have an idea (another free firewall) how to simulate the situation that the Java Runtime has only internet access through the proxy?
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic