Java - Proxy

Java Conceptuel Diagram

About

Proxy configuration for Java

How to

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

Documentation / Reference







Share this page:
Follow us:
Task Runner