azd app ports

Reads `azure.yaml` and lists the host port each service binds. An explicit host port is shown as its number; a port left for the tool to assign is shown as `auto`. When two bindings claim the same explicit host port the command reports the conflict and exits non-zero, so it works as a preflight check before `azd app run`.

Usage

Terminal window
azd app ports [flags]

Flags

FlagShortTypeDefaultDescription
--output-ostringtextOutput format: `text` or `json`

Examples

Terminal window
azd app ports [flags]
Terminal window
azd app ports
Terminal window
azd app ports --output json

Detailed Documentation

For complete documentation including flows, diagrams, and advanced usage, see the full command specification.

View full ports specification →