# Regions and the edge

Source: https://openpanel.sh/docs/concepts/regions

What OpenPanel's edge does, where it runs today, and how to read the list of OpenPanel's regions.

The edge is the part of OpenPanel that the internet talks to on your services' behalf. Your services run on your own servers; the edge receives their traffic and sends it to them through each server's [agent](/docs/servers/agent).

## What the edge does [#what-the-edge-does]

The edge and the gateway are one program. It:

- **accepts the agents' connections** at `gateway.openpanel.sh`, on port 443, and tells each agent what to run;
- **serves your public services' HTTP ports** at their [opnl.app addresses](/docs/domains/opnl-app), with HTTPS, and sends plain HTTP requests on to HTTPS;
- **serves their public TCP and UDP ports**, at ports between 30000 and 32767. See [TCP and UDP services](/docs/tcp-udp);
- **spreads requests over a service's replicas** that are ready, sending each request to the one with the fewest requests in progress. See [Load balancer on or off](/docs/load-balancing).

A request for a name that no service has gets the page "Nothing is deployed here". A request for a service with no ready replica gets "This service is not running", with the status 503.

## Where it runs today [#where-it-runs-today]

Today the edge runs on OpenPanel's own main server, the one that runs the console. opnl.app addresses reach it through Cloudflare, which stands in front of them.

OpenPanel has no regions of its own yet. Region servers for the edge, the private network's relays and NordBase are planned, and each will be added by configuration once its server exists. Until then this page lists none, and nothing here is a promise of a place or a date.

## Read the list of regions [#read-the-list-of-regions]

The list holds only the regions that are switched on. Today it is empty.

<Tabs items={["CLI","API"]}>
<Tab value="CLI">
```sh
openpanel regions
```

```text
No regions yet: everything runs from OpenPanel's main server.
```
</Tab>

<Tab value="API">
```sh
curl https://openpanel.sh/api/v1/regions \
  -H "Authorization: Bearer $OPENPANEL_TOKEN"
```

```json
{ "data": [], "nextCursor": null }
```
</Tab>
</Tabs>

See [List OpenPanel's regions](/docs/api/servers/list-openpanel-s-regions) in the API reference.

<Cards>
<Card href="/docs/concepts/addresses" title="Addresses" description="opnl.app, your own domain, TCP and UDP ports, or none." />

<Card href="/docs/servers/agent" title="The OpenPanel agent" description="How traffic reaches your server through the agent's own connection." />
</Cards>