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
azd app ports [flags]Flags
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
--output | -o | string | text | Output format: `text` or `json` |
Examples
azd app ports [flags]azd app portsazd app ports --output jsonDetailed Documentation
For complete documentation including flows, diagrams, and advanced usage, see the full command specification.
View full ports specification →