devbox port-forward to forward TCP ports from a running Devbox to localhost. Keep the command running while you use the forwarded ports.
Usage
--ports, the command forwards ports configured by the Devbox. It exits without forwarding when neither the command nor the Devbox configuration supplies ports.
Forward matching local and remote ports
Remap a remote port
4000 to remote port 3000.
Options
string
Provide a comma-separated list of ports. Use
local:remote to map different local and remote port numbers.boolean
default:"false"
Include Devboxes owned by other workspace members when selecting a Devbox.
Related topics
Remote development
Access services and development tools on a Devbox.