Skip to content

Proxy Configuration

Artem Fedorov edited this page Nov 23, 2017 · 8 revisions

We use the following Java system properties for get proxy configuration:

   http.proxyHost
   http.proxyPort
   http.proxyUser
   http.proxyPass

If you need use proxy server with/without authentication, specify these properties:

  • From Java code:
   System.setProperty(PROXY_HOST, host);
   System.setProperty(PROXY_PORT, port);
   System.setProperty(PROXY_USER, user);
   System.setProperty(PROXY_PASS, pass);
  • Or add additional parameters to your startup script:
-Dhttp.proxyHost=host -Dhttp.proxyPort=port -Dhttp.proxyUser=user -Dhttp.proxyPass=pass
Clone this wiki locally