Outbound Connection Proxy

Variable JAVA_OPTS in environment variables definition file can be used for setting specific system-wide proxy configuration for different JVM’s network protocol handlers used by SpectX when accessing external resources. Unless the proxy configuration is set, the SpectX accesses the resources directly.

The following system properties are available for configuring proxying of connections over HTTP and HTTPS protocols:

http.proxyHost
the hostname of the proxy server for HTTP connections
https.proxyHost
the hostname of the proxy server for HTTPS connections
http.proxyPort
the proxy server port number for HTTP connections, the default value is 80
https.proxyPort
the proxy server port number for HTTPS connections, the default value is 443
http.nonProxyHosts
a list of hosts that should be reached directly, bypassing the proxy, regardless of the protocol being HTTP or HTTPS. This is a list of patterns separated by ‘|’. The patterns may start or end with a ‘*’ for wildcards. Any host matching one of these patterns will be reached through a direct connection instead of through a proxy.

For example, consider the following excerpt from environment variables file:

JAVA_OPTS="${JAVA_OPTS} -Dhttp.proxyHost=proxy.int.company.net -Dhttp.proxyPort=3128"
JAVA_OPTS="${JAVA_OPTS} -Dhttps.proxyHost=proxy.int.company.net -Dhttps.proxyPort=3128"
JAVA_OPTS="${JAVA_OPTS} -Dhttp.nonProxyHosts=*.int.company.net|*.test.company.net"

Refer to the comprehensive Oracle documentation on these properties for details.