Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
If your organization requires the use of a proxy server to access internet resources, you must configure the Azure Developer CLI (azd) to route traffic through that proxy.
Configure azd proxy settings
Set the following environment variable to use a local proxy server:
PowerShell
$env:HTTP_PROXY = "http://proxy.example.com:8080"
$env:HTTPS_PROXY = "http://proxy.example.com:8080"
$env:NO_PROXY = "localhost,127.0.0.1"
Bash
export HTTP_PROXY="http://proxy.example.com:8080"
export HTTPS_PROXY="http://proxy.example.com:8080"
export NO_PROXY="localhost,127.0.0.1"
Note
Invalid environment variables values result in various HTTP related error messages when running azd commands.
azd uses the Go net/http package. DefaultTransport is the default implementation of Transport and is used by DefaultClient. It establishes network connections as needed and caches them for reuse by subsequent calls. It uses HTTP proxies as directed by the environment variables HTTP_PROXY, HTTPS_PROXY, and NO_PROXY (uppercase or lowercase).