> ## Documentation Index
> Fetch the complete documentation index at: https://vms.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sandbox network reference

> The addresses of a sandbox, the traffic that it can send and receive, and its rate limits.

This reference gives the addresses of a sandbox, the traffic that it can send and receive, and its rate limits.

Check if my workload fits the sandbox network.

Read this reference.
Tell me if my workload needs a port, an address, or a rate that a sandbox does not allow.

## Addresses

| Address | Value |
| - | - |
| IPv6 | One public address for each sandbox. `GET /v1/sandboxes/{id}` shows it in `ipv6` when the sandbox starts. |
| IPv4 | One private address. Traffic to IPv4 sites leaves through the IPv4 address of the host. |
| DNS | Public resolvers: `2606:4700:4700::1111`, `2001:4860:4860::8888`, `1.1.1.1`, and `8.8.8.8` |

The `ipv6` field is `null` until the sandbox starts.

```json theme={null}
{
  "id": "sbx_06d8k3m7q2v9x4b1n5c0e8f2ja",
  "state": "running",
  "ipv6": "2604:2dc0:100:32d5::1:1a"
}
```

## Traffic to the sandbox

| Source | Ports |
| - | - |
| The internet | TCP port 22 ([SSH](https://vms.dev/docs/sandboxes/ssh.md)) and TCP port 7911 (the guest agent, which refuses a request without the sandbox key). Ping to the IPv6 address. |
| The internet | Each other port is closed. To open a port, give it a [public URL](https://vms.dev/docs/sandboxes/urls.md). |
| A public URL | The port of the URL, with HTTP and WebSockets. The request comes from the host of the sandbox. |
| A desktop link | TCP port 7912, the desktop gateway. The request comes from the host of the sandbox. See [Desktop](https://vms.dev/docs/sandboxes/desktop.md). |
| Replies | Replies to a connection that the sandbox opened |

## Traffic from the sandbox

The sandbox can open connections to IPv6 and IPv4 sites on each port, with these exceptions:

| Blocked | Result |
| - | - |
| TCP port 25 and 465 (email) | The connection fails at once. |
| Other sandboxes | The connection gets no answer. |
| The host of the sandbox | The connection gets no answer, except UDP and TCP port 3478 and UDP ports 49160 to 49999, the relay of the [desktop](https://vms.dev/docs/sandboxes/desktop.md#networks-and-firewalls). |
| Provider metadata addresses: `169.254.0.0/16` and `fd00:ec2::254` | The connection gets no answer. |
| A source address that is not an address of the sandbox | The packet does not leave the host. |

## Rate limits

Each sandbox has these limits:

| Limit | Value |
| - | - |
| New connections from the sandbox | 100 each second, with a burst of 300. Packets above the limit are dropped. |
| Bandwidth to the sandbox | 500 Mbit/s |
| Bandwidth from the sandbox | 500 Mbit/s |

Read the [changelog.](https://vms.dev/docs/changelog.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.