sbx port ls
| Description | List published ports |
|---|---|
| Usage | sbx port ls SANDBOX [flags] |
Description
List the published ports of a sandbox.
With --cloud: List the exposed ports of a cloud sandbox given by ID (sbx_*) or name, each with its publicly reachable URL.
Options
| Option | Default | Description |
|---|---|---|
--format | Output format: table, json or yaml | |
--json | Output in JSON format |
Global options
| Option | Default | Description |
|---|---|---|
--cloud | Dispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list) | |
-D, --debug | Enable debug logging | |
--no-input | Never prompt; commands that need an answer fail with the command to run instead |
Examples
sbx port ls my-sandbox
# Machine-readable output
sbx port ls my-sandbox --format json