Share feedback
Answers are generated based on the documentation.

sbx port ls

DescriptionList published ports
Usagesbx 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

OptionDefaultDescription
--formatOutput format: table, json or yaml
--jsonOutput in JSON format

Global options

OptionDefaultDescription
--cloudDispatch 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, --debugEnable debug logging
--no-inputNever 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