I am using outbound proxy for Bitbucket DC for external network, while bypassing proxy for internal network with below option in the _start-webapp.sh
-Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*
OR
-Dhttp.nonProxyHosts=\"localhost|127.0.0.1|192.168.*.*\"
However, when i was testing connection in wehbook plugin, both localhost and 127.0.0.1 are working and bypassing proxy, while 192.168.x.x server is not reachable . So this seems like ignored by webhook.
Then if I use below option instead, then it works with bypassing proxy.
-Dhttp.nonProxyHosts=192.168.1.2
Anyone has any resolution on this or encountered before on how to setup multiple target ip addresses ?
-Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*
Hi @limboonchia
I think instead of using -Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*, if you use -Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.* , it may work.
The wildcard character generally doesn't work in the segments of dot notation so you can user it in the beginning or the end.
Regards,
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.