# Open ports on your game server
Every game server comes with its game port already open, so players can join without you doing anything. Open an extra port only when something else on the server has to be reachable from the internet: a voice chat plugin, a Bedrock bridge like Geyser, a web map, a query or RCON port.

All of this happens on your server's **External Access** page. Open the server in the dashboard and pick **External Access** in the side menu (on a phone, it is in the strip of sections at the top).

## What is open by default

The **Ports** card lists every port of your server:

- The ports the server came with are marked **Always on**. The main one is the game port players connect to, and the address in the **How players join** card points to it. These ports are always available, they do not count towards your port allowance, and you cannot close them.
- Below them are the extra ports you opened yourself. Until you open one, the card says **Most servers only need the game port. Open extra ports for things like voice chat or map plugins.**

Each port shows its **Address** (the IP and the public port), its **Port on your server** (the port your server software listens on), its **Protocol** and its **Protection** state. Game traffic is protected automatically, and the state normally reads **Protected · Normal**.

## Open a port

1. On **External Access**, open the **Ports** card and click **Open port**.
2. Pick the **Protocol**: **TCP**, **UDP** or **TCP & UDP**. Check what the plugin or program needs. If you are not sure, pick **TCP & UDP**.
3. Leave the default, **Automatic port**, unless your software cannot change its port (see below). We pick a free port and use the same number inside your server.
4. Click **Open port**.
5. The new port appears in the list. It shows **Activating... usually a few seconds** and then **Active**. The address works once it is **Active**.
6. Set your plugin or program to listen on the number in **Port on your server**, then restart the server if that setting is only read at start-up.

:::tip{title="The public port is not the game's usual port"}

The public port is picked from what is free, so it is rarely the number the game or plugin uses by default (for example `19132` for Bedrock, `24454` for Simple Voice Chat). Use the exact number the dashboard shows, both in the plugin's config and when you tell players how to connect.

:::

If a port says **Taking longer than usual**, give it a moment more. If it ends as **Could not activate**, close it and open it again, or contact support.

### Choose the port number yourself

Some software is fixed to one port and cannot be changed. For that case, open **Advanced** in the dialog, turn on **Choose the port myself**, and type the port your server listens on under **Port on your server**.

The number you type is the port inside your server. Players still connect through a separate public port that we assign, shown in **Address**.

## What the public address looks like

An address is an IP (or host name) and a port, for example `203.0.113.10:31544`. Click the copy button next to it to copy it. Players need the port as part of the address unless you set up a name that hides it, see [How players connect to your server](/game-servers/connect-players).

## Close a port

Click the bin icon on the port's row. The dashboard asks **Close this port?**. Confirm with **Close port**. The port stops working straight away and frees a slot in your allowance. Ports marked **Always on** have no bin icon.

## Limits

- **How many ports.** The counter on the **Ports** card shows how many extra ports you have used out of your allowance, for example `1 of 3 in use`. When it is full, **Open port** is disabled and the card says **You've opened all the ports this server can have. Contact support if you need more.**
- **One port per number and protocol.** Opening the same port with the same protocol twice is refused with **This port and protocol is already allocated.**
- **Port range.** A port you choose yourself must be between 1 and 65535.
- **No free ports.** **No external ports are available right now. Contact support.** means the IP your server is on has no free ports left.
- **No firewall.** Game servers have no allow list or block list for IPs. An open port is reachable by anyone who knows the address.

## HTTPS for a web port

A port you opened that serves a web page (a live map, a stats page) can get a proper `https://` address on a domain you own. It must be a **TCP** or **TCP & UDP** port.

1. Click **Add HTTP domain** on the port's row.
2. Type your domain under **Domain**, for example `map.yourdomain.com`, without `https://` or a path.
3. Create the DNS records shown under **DNS setup** at your domain provider.
4. Click **Create HTTPS route**.

The domain shows **Certificate pending** until the certificate is issued and then **Active**. Keep the DNS record in place while you wait. To remove it, click the domain on the port's row and choose **Remove domain**. The port itself stays open.

## Frequently asked questions

<details>
  <summary>I opened a port but nobody can connect to it.</summary>

Check three things. The port shows **Active** on **External Access**. Your plugin or program listens on the number in **Port on your server**, not on its default. The protocol matches what the software uses: a UDP voice chat behind a TCP-only port will not work, so close it and open a **TCP & UDP** or **UDP** port instead. Then restart the server so the plugin picks up its new port.

</details>

<details>
  <summary>Do I need to open a port for the game itself?</summary>

No. The game port is open from the start and marked **Always on**. Players use the address in **How players join**.

</details>

<details>
  <summary>Can I get the game's default port, like 25565?</summary>

No, the public port is always assigned. With a domain you own and an SRV record, Minecraft (Java) and FiveM players can join without typing any port, see [How players connect to your server](/game-servers/connect-players).

</details>
