devbox url to expose HTTP ports through devbox.so, retrieve or remove exposed URLs, and inspect or change access for all exposed URLs on a Devbox.
Usage
Options
Include Devboxes owned by other workspace members when selecting a Devbox. This option is inherited by each
devbox url subcommand.devbox url expose
Expose one or more ports. Repeating an existing matching exposure returns it instead of creating a duplicate. A name can only be used when exposing one port.
devbox url create is an alias for devbox url expose.Usage
Expose an HTTP port
Options
Specify a port to expose. Repeat the option or use a comma-separated value to expose multiple ports. Ports must be between
1 and 65535 without duplicates.devbox url unexpose
Remove exposed URLs by port or by name. Specify exactly one selector form. Ports or names that are not currently exposed are ignored.
devbox url delete is an alias for devbox url unexpose.Usage
Remove an exposed URL
Options
Accept an output format of
json or table. This version produces no output when URLs are removed.Remove URLs for these ports. Repeat the option or use a comma-separated value. Specify exactly one of
--port or --name.devbox url get
Return exposed URLs selected by port or by name. Specify exactly one selector form. Every requested port, or the requested name, must have an exposed URL.
Usage
Get a URL by name
Options
Return URLs for these ports. Repeat the option or use a comma-separated value. Specify exactly one of
--port or --name.devbox url list
List all exposed HTTP URLs for a Devbox, sorted by port number.
Usage
List exposed URLs as JSON
Options
devbox url access
Print the current access mode for a Devbox’s exposed URLs. Pass --mode to change the mode to owner-only private access or workspace-wide workspace access.
Usage
Set workspace access
Options
Set the access mode to
private or workspace. Leave empty to inspect the current mode without changing it.Related topics
Shareable URLs
Expose an HTTP service running on a Devbox.
SSH & Sessions
SSH access and SSH config for a Devbox.