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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.