Repository navigation
Capturing localhost traffic #886
|
I've used the Basic, WPF and a new console app following the readme. I don't see any traffic from localhost. I'm developing a web app and I'd like to be able to capture and log api calls from my angular -> api. |
Answered by
justcoding121
Aug 3, 2026
Replies: 1 comment
|
Localhost traffic is tricky ? most browsers bypass the system proxy for Workarounds:
Also make sure Angular/ Closing ? reopen if a specific browser still skips the proxy after the above. |
0 replies
Answer selected by
justcoding121
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Localhost traffic is tricky ? most browsers bypass the system proxy for
localhost/127.0.0.1on purpose.Workarounds:
localhost(e.g.http://192.168.x.x:4200).--proxy-server=127.0.0.1:8000and use a hostname that isn't in the bypass list. You can also tryhttp://local.mydomainmapped in hosts.network.proxy.allow_hijacking_localhosttotruein about:config.SetAsSystemProxyalone for loopback ? configure the client explicitly.Also make sure Angular/
HttpClientisn't talking straight to the API without going through the browser proxy settings.Closing ? reopen if a specific browser stil…