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

# MTA Server Ports: 22003, 22005 and 22126 Explained

> MTA server ports explained: 22003 UDP for players, 22005 TCP for downloads (game port + 2 on our servers) and 22126 UDP for the server list (game port + 123).

An MTA:SA server uses three ports. On a default FREAKHOSTING server they are **22003 UDP** for players (the game port), **22005 TCP** for the built-in web server that sends resources to players (game port + 2), and **22126 UDP** for the server list query, called ASE (game port + 123). We set all three up for you. Players connect to the game port only.

| Port | Protocol | Used for | Rule |
| - | - | - | - |
| 22003 | UDP | Players join (`serverport`) | Your game port |
| 22005 | TCP | Built-in web server: resource downloads, web admin (`httpport`) | Game port + 2 on our servers |
| 22126 | UDP | Server list query (ASE) | Game port + 123 |

Your server's ports may differ from the defaults. The game port is the one in the address on the **Console** page.

## Where do I find my server's address and port?

Open the [Console](https://help.freakhosting.com/portals/game-panel/how-to-use-the-server-console.md) and use the **Copy address** card, for example `203.0.113.10:22003`. **Network** lists your allocations. Players type this address in **Quick Connect** or use `connect 203.0.113.10 22003` in the F8 console.

## What does each port do?

* **Game port (22003 UDP).** All gameplay traffic. This is the port players connect to.
* **HTTP port (22005 TCP).** MTA's built-in web server. On our servers it is always the game port + 2. It is set in the **Startup** variable `SERVER_WEBPORT`, which is read-only. Resource downloads on our servers go through our download address (see [resources not downloading](https://help.freakhosting.com/games/multi-theft-auto/mta-resources-not-downloading.md)).
* **ASE port (22126 UDP).** MTA calculates it from the game port + 123. It answers the master server and the in-game browser. If it can't be reached, your server doesn't appear in the server list.

## How to test the ports

Type this in the server console:

```
openports
```

It tests whether the server ports can be reached from outside. If a port reports closed, [open a ticket](https://freakhosting.com/clientarea/submitticket.php) with the output.

## Can I change the ports?

No. The ports are assigned to your server by us and passed to MTA when it starts. Don't change `serverport` or `httpport` in `mtaserver.conf`. If you need a different port, [open a ticket](https://freakhosting.com/clientarea/submitticket.php).

## Do I need to forward ports?

No. Port forwarding is only needed when you host MTA at home behind a router. Your FREAKHOSTING server is already reachable. If you use our firewall, see [DDoS filters](https://help.freakhosting.com/portals/firewall/how-to-apply-ddos-filters.md).

## Frequently asked questions

### Which port do players use to join?

The game port, by default 22003, for example `203.0.113.10:22003`. The other two ports work in the background.

### Why does my server not show in the list although players can join?

The listing uses the ASE port and a few settings. See [server not showing in the list](https://help.freakhosting.com/games/multi-theft-auto/mta-server-not-showing-in-server-list.md).

### Is 22005 the same as the web admin port?

Yes. The built-in web server, including the `webadmin` resource, runs on the HTTP port.

## Related guides

> [card] [MTA server guide](https://help.freakhosting.com/games/multi-theft-auto/multi-theft-auto-server-hosting-guide.md)
>
> Every MTA page in one place.

> [card] [Not in the server list](https://help.freakhosting.com/games/multi-theft-auto/mta-server-not-showing-in-server-list.md)
>
> ASE, owner e-mail and listing.

> [card] [Resources not downloading](https://help.freakhosting.com/games/multi-theft-auto/mta-resources-not-downloading.md)
>
> Download problems on join.

> [card] [Network and subdomains](https://help.freakhosting.com/portals/game-panel/how-to-manage-network-and-subdomains.md)
>
> Your allocations.

***

> [!NOTE]
>
> **Tested by the FREAKHOSTING team** on our Game Panel on 2 November 2026 (MTA:SA server 1.6, 64-bit). Steps may differ slightly if the game changes. Port rules checked against the official [Multi Theft Auto wiki](https://wiki.multitheftauto.com/wiki/Server_Manual).

> [!NOTE]
>
> ### Need Extra Help?
>
> If you encounter any issues, our support team is ready to assist:
>
> * **Live Chat:** Quick assistance via our website.
> * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
> * **Discord:** [Join our Community](https://discord.gg/freakhosting)
> * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)

> [!TIP]
>
> ### Save on Your Hosting
>
> Ready to upgrade your hosting? Use code **KB20** at checkout for **20% off** your first order!

***

**Last Updated:** November 2026


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