This article covers setting up an OpenTTD dedicated server: starting, ports, passwords, rcon, content download, saves and typical problems. It is based on the official OpenTTD wiki and the official GitHub documentation.
Checked 2026-11-17. OpenTTD versions differ (for example 12.0 simplified connecting), so check the current wiki too.
1. Requirements and ports
The OpenTTD server is the game executable in a mode without graphics, on any supported platform. The pages we checked give no hardware needs, but do give bandwidth: about 1.5 KB/s up and down per client, so about 15 KB/s each way for 10 players, which the guide puts at roughly 60 GB per month running 24/7.
| Port | Protokoll | Purpose |
|---|---|---|
| 3979 | TCP and UDP | Default game port; changeable |
| 3978 | UDP (outbound) | Game Coordinator kapcsolat |
2. First start and configuration
- Start the game with the -D switch (capital D); forgetting it is the most common mistake. Load a save with -g savename.
- On Linux the -f switch runs it in the background with no console, output goes to openttd.log, which you can follow with tail -f. For a console use screen or dtach.
- Settings are in openttd.cfg, in the Network section: server name, server advertise, bind IP, port and automatic company cleanup. Set lan internet to 0.
- You can set the server password in the console with set server_pw; company passwords are set by the players themselves.
- openttd.cfg is overwritten on exit by default, so do not edit it while the server runs.
openttd -D -g SAVENAME3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| The server does not show in the list | It is not advertised, or 3979 TCP and UDP are not open | Enable advertising and open 3979 TCP and UDP. For harder cases the -d net=4 launch switch prints network debug messages. |
| Connection drops while joining on a big map | The new player downloads the map and falls behind on the changes made meanwhile | Raise max_join_time, max_download_time and max_lag_time, and consider enabling pause_on_join. |
| The client shows an orange dot next to the server | A NewGRF mismatch | In the client's NewGRF settings download the missing content from online content. |
| Content is downloaded but not active | Downloading does not enable content | Activate it in the game settings. |
| A NewGRF-ek nem jelennek meg a szerveren | The config and NewGRF files were not copied, or openttd.cfg was copied while the server was running | Set it up in a desktop game, stop the server, and only then copy the config. On Unix a backslash is not a directory separator. |
| The server stops after you leave SSH | The process is tied to the terminal | Use screen, dtach or the -f switch. |
| Not reachable with multiple network adapters | No bind IP is set | Set the server bind ip value. |
| Passwords do not apply or a company password is wrong | Passwords must be set separately on every server | Set them again on this server; company passwords are set by the players. |
4. Saves and updates
- Saves are in save, and autosaves in save/autosave, inside the main data directory (on Linux usually ~/.local/share/openttd, on Windows Documents/OpenTTD). On a rented server you see the exact path in the file manager.
- Load a save while running from the server console: ls, cd NUMBER, load NUMBER.
- The content_download folder is managed by OpenTTD itself; do not copy files into it by hand.
- Before updating, stop the server, back up the save and config files and check NewGRF compatibility.
5. Content, rcon and admin
- Download content (NewGRF) from the console: content update, content state, content select ID, content download. Downloading does not activate.
- Rcon password: in the server console rcon_pw PASSWORD; from a client console rcon PASSWORD and the command in quotes, for example kick.
- Per the wiki the recommended way to control the server remotely is the Admin Port with a separate program.
- The number of companies and spectators is limited by max_companies and max_spectators; removal of inactive companies is controlled by the autoclean settings.
6. Choosing a plan
Load depends on map size, player count and NewGRFs. OpenTTD handles up to 255 clients and 15 companies. The guide strongly recommends pause_on_join on large maps because a joining player makes the server send a lot of data. We give no performance guarantees.



