How to Use 'curl no proxy' to Bypass Proxy Settings? or Why Isn't 'curl no proxy' Working for My Requ

14 Replies, 1235 Views

Hey! Had the same issue last week. Turns out curl no proxy doesn’t override env vars like `HTTP_PROXY` or `ALL_PROXY`. Try unsetting those first with `unset HTTP_PROXY HTTPS_PROXY` before running your curl command.

Also, `--noproxy '*'` should work, but maybe your curl version is old? Check with `curl --version`.

If all else fails, use `--proxy ""` to force no proxy. Hope that helps!

Messages In This Thread



Users browsing this thread: 1 Guest(s)