Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • 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
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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
Hello,

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?
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic