Port forwarding is currently only available through the CLI. Support for VS Code and Console is coming soon.
How It Works
When you forward a port, your HTTP service becomes available at:abc123 and you forward port 8080, your service is accessible at:
Forward Ports
Interactive Mode
Run the command without arguments to use the interactive interface:Using Flags
Add or remove ports directly with flags:List Forwarded Ports
See all forwarded ports across your instances:Limitations
- Port 22 is reserved for SSH and cannot be forwarded
- Valid port range: 1-65535
- HTTP only: Your service must speak HTTP or gRPC, Other protocols like raw TCP or UDP are not currently supported.
Example: Exposing a Web Server
- Start a web server on your instance (e.g., on port 8080)
- Forward the port:
- Access your service at
https://<instance-uuid>-8080.thundercompute.net