Bypass Proxy for selected endpoints/domain

8.2SP7

Hello Community,

I am trying to bypass proxy for a webservice connector, the environment uses Proxy for external applications and has to Bypass the proxy for internal applications.

I have tried adding nonProxy into Java_Opts as below which did not work

JAVA_OPTS="-Dhttps.nonProxyHosts=ing.net -Dhttp.nonProxyHosts=domain.com -Dhttp.proxyPort=<PORT> -Dhttp.proxyHost=proxy2.com -Dhttp.proxyPort=<PORT>"

How can we manage both Proxy and making sure for selected endpoints/domain proxy is Bypassed. Please share if you have any sample config , Is there a way to setup in application.xml ?

Thanks

try something like below

export JAVA_OPTS=“$JAVA_OPTS -Dhttp.proxyHost=”
export JAVA_OPTS=“$JAVA_OPTS -Dhttp.proxyPort=”
export JAVA_OPTS=“$JAVA_OPTS -Dhttp.nonProxyHosts=*.company.com|abcd”

@vishal_kejriwal1 Thank you for the response, what is ‘abcd’ after pipe ?

hostnames separated by pipe