# Port Forwarding

> Configure port forwarding to access local services on Thunder. Map internal ports to your local machine for efficient testing and debugging.

VS Code

Editor extension

[Open](https://www.thundercompute.one/docs/vscode/operations/port-forwarding.md)

CLI

Command line

[Open](https://www.thundercompute.one/docs/cli/operations/port-forwarding.md)

Console

Web interface

[Open](https://www.thundercompute.one/docs/console/operations/port-forwarding.md)

## Port Forwarding

Forward ports directly from the Thunder sidebar in VS Code. Your service gets a public HTTPS URL with automatic DDoS protection.

### Forward a Port

1. In the **Thunder** sidebar, find your running instance
2. Right-click the instance and select **Forward Port**
3. Enter the port number(s) to forward

Your service becomes available at:

```
https://<instance-uuid>-<port>.thundercompute.net
```

### Manage Forwarded Ports

Forwarded ports appear as child items under your instance in the sidebar. For each port you can:

* **Open in Browser** - click the globe icon next to the port
* **Copy URL** - click the copy icon to copy the public HTTPS URL
* **Remove** - click the trash icon to stop forwarding

### 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.

For CLI-based port forwarding, see the [CLI guide](https://www.thundercompute.one/docs/cli/operations/port-forwarding.md).
