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
Provide a comma-separated list of ports. Use
local:remote to map different local and remote port numbers.Related topics
Shareable URLs
Reach a service on a Devbox with port forwarding or a shareable URL.