There is no official, up-to-date manual for the Call of Duty 4: Modern Warfare dedicated server, so this article relies on the official CoD4x project page and community operation guides (a service knowledge base and the CoD4x Docker readme). Our team sets the server up; you manage it through the console and the file manager.
Checked 2026-11-17. The article is shorter because we only write what the sources confirm. The game name and trademark belong to their owner; this article is unofficial.
1. Requirements and ports
The server needs the original game files: every .iwd file from the main folder and the contents of the zone folder. CoD4x is a modified server that fixes bugs and adds features (admin commands, player identification, plugins). Players joining a CoD4x server are prompted to install the CoD4x client. The server runs on Windows and Linux, and the README advises running it as a non-root user.
| Port | Protokoll | Purpose |
|---|---|---|
| 28960 (default, net_port) | UDP and TCP (per the Docker examples) | Game and queries |
2. Starting and configuring
Settings live in server.cfg in the main folder. A few values can only be given as launch parameters because they cannot be changed from server.cfg. The CoD4x README gives this Windows pattern for a local test: cod4x18_dedrun.exe +map mp_killhouse +set dedicated 2 +set net_ip 127.0.0.1.
- Copy the files of the main and zone folders into the server directory.
- Set the server name and passwords in server.cfg.
- In the launch parameters give: +set dedicated 2, +set net_port 28960, +set sv_maxclients NUMBER, +exec server.cfg and finally +map_rotate.
- sv_maxclients can only be set at startup, so do not drop it from the launch line.
- To appear on the CoD4x master list, the sv_authtoken cvar must hold the token generated on the master site.
+set dedicated 2 +set net_port 28960 +set sv_maxclients 32 +exec server.cfg +map_rotate3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Not on the CoD4x master list | sv_authtoken is missing, or the server is 1.7a, which per the readme is no longer compatible with the master server. | Generate a token on the master site, set sv_authtoken and use a current CoD4x release. |
| Player count does not change | sv_maxclients can only be set at startup. | Change the launch parameter and restart the server. |
| A value changed in server.cfg has no effect | dedicated, sv_maxclients, fs_game, net_ip, net_port and similar values are write-protected in the cfg. | Give these as launch parameters. |
| The mod does not load | Wrong fs_game path or the mod is not in the mods folder. | Per the Docker readme the mod goes into the mods folder and fs_game is mods/NAME; the mod's own cfg is NAME/server.cfg. |
| Server not reachable from outside | Port 28960 is blocked, or net_port differs. | Ask our team to check the port; if you change net_port, the firewall must match. |
| Players are asked to install the CoD4x client | The server is CoD4x; the CoD4x client fixes bugs of the standard client. | This is normal. Per the readme the automatic client update only works on Windows. |
4. Saves and updates
Server settings and mod files are in the server folders (main, mods, usermaps, zone). Back up in the client area and save your server.cfg before updating. New CoD4x releases are listed on the project's Releases page; our team performs updates on request.
5. Mods, PunkBuster and access
Mods go into the mods folder and are selected with fs_game. PunkBuster is enabled with the sv_punkbuster 1 launch parameter. CoD4x also provides admin commands and player identification. Note that CoD4x's usage conditions ask hosts not to flood the master server with private servers.
6. Choosing a plan
The sources give no hardware recommendation. The game is old, so load mostly depends on player count (sv_maxclients) and mods. Start with the smallest plan and only upgrade if the server lags consistently.



