Configuring the HTTP and HTTPS proxy settings using the Gate.Java.Arguments property

IBM Java supports HTTP and HTTPS proxy server settings which can be used in the Gate.Java.Arguments property setting to configure connectivity using a proxy server.

To configure the HTTP and HTTPS proxy settings for the gateway, set the Gate.Java.Arguments property:

Gate.Java.Arguments : "-Dhttp.proxyHost=[PROXYHOST] -Dhttp.proxyPort=[PROXYPORT] -Djdk.http.auth.tunneling.disabledSchemes='' -Dhttps.proxyHost=[PROXYHOST] -Dhttps.proxyPort=[PROXYPORT]"

Where:

[PROXYHOST] is the IP address.

[PROXYPORT] is the port number for the HTTP/HTTPS proxy server.

For example, if the [PROXYHOST] is localhost (127.0.0.1) and the [PROXYPORT] is 8888 for the HTTP/HTTPS proxy, set the Gate.Java.Arguments property in the properties file as follows:

Gate.Java.Arguments : "-Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=8888"