Java - Proxy

> Procedural Languages > Java

1 - About

Proxy configuration for Java

3 - How to

3.1 - The proxy of the JVM

To configure the proxy of the JVM, you have the following options:

  • -Dhttp.proxyHost=10.0.0.100
  • -Dhttp.proxyPort=8800
  • -Dhttp.nonProxyHosts=“localhost|127.0.0.1|10.*.*.*|*.foo.com|etc”
  • -Dhttp.proxyUser=“proxyUser”
  • -Dhttp.proxyPassword=“proxyPwd”
java -Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800 .... myApp
Advertising

4 - Documentation / Reference

lang/java/proxy.txt · Last modified: 2017/02/12 21:05 by gerardnico