browsermob-proxy icon indicating copy to clipboard operation
browsermob-proxy copied to clipboard

-Dhttp.nonProxyHosts is not working

Open jun1983 opened this issue 6 years ago • 1 comments

Hi there, I used below command-line to launch BMP in standalone mode. I tried to bypass www.google.com from upstream chain proxy. However seems this nonProxyHosts value is ignored for some reason. It still tried to connect to proxy when I was visiting http://www.google.com

java -Dhttp.proxyHost=127.0.0.1 -Dhttps.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 -Dhttps.proxyPort=3128 -Dhttp.nonProxyHosts=www.google.com -Dapp.name=browsermob-proxy -Dbasedir=qmockproxy -jar browsermob-dist-2.1.5.jar -port 8080 -proxyPortRange 8100-8500 -ttl 3600

jun1983 avatar May 30 '18 01:05 jun1983

You can try to use -Dhttp.nonProxyHosts="www.google.com"

fengbao207 avatar Aug 26 '21 09:08 fengbao207