Skip to main content
Port forwarding is also available through the VS Code extension and the Console.

How It Works

When you forward a port, your HTTP service becomes available at:
For example, if your instance UUID is abc123 and you forward port 8080, your service is accessible at:
All traffic is automatically secured with HTTPS and protected against DDoS attacks

Forward Ports

Interactive Mode

Run the command without arguments to use the interactive interface:
This guides you through selecting an instance and entering the ports you want to forward.

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

  1. Start a web server on your instance (e.g., on port 8080)
  2. Forward the port:
  3. Access your service at https://<instance-uuid>-8080.thundercompute.net