This article covers setting up a Call of Duty 2 dedicated server: launch parameters, the important dedicated.cfg settings, version 1.3 and CoD2x, the port and typical problems. We used a Windows server guide, the CoD2x GitHub documentation and a server-hosting connection guide.
Checked 2026-11-17. The game is old, so parts of the notes are older posts; check the current CoD2x documentation too.
1. Requirements and port
The server runs on version 1.3 of the game (every Steam copy is 1.3). A client on 1.0 or 1.2 cannot join until it updates to 1.3. CoD2x is a free add-on; a CoD2x server accepts both kinds of clients, original 1.3 and CoD2x. The sources we checked give no hardware needs.
| Port | Protokoll | Purpose |
|---|---|---|
| 28960 | UDP | Game port (net_port); in the CoD2x Docker example only this is needed |
2. First start and configuration
- On Windows dedicated.cfg is in the game's main folder and should contain at least one map rotation (sv_mapRotation) definition, on a single line, watching the quotation marks.
- On Windows a player profile is required or the server will not start: a main\players\DummyProfile folder, DummyProfile on the first line of main\players\active.txt, and an empty config_mp.cfg in the profile folder.
- Launch parameters: +set dedicated 2 (2 = public, 1 = LAN, 0 = normal), +exec filename.cfg, +map_rotate, optionally +set net_ip, +set net_port 28960, +set sv_punkbuster 0 or 1.
- On Linux the cod2_lnxded binary is used; with CoD2x the libCoD2x.so library is loaded with LD_PRELOAD, which many hosting providers do not allow.
- A new server appears in the list after a few minutes; connecting by IP works immediately.
CoD2MP_s.exe +set net_port 28960 +set fs_game main +set dedicated 2 +exec dedicated.cfg +map_rotate3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| A szerver Windowson nem indul | No DummyProfile and active.txt in the main\players folder | Create the folder, the active.txt file and the empty config_mp.cfg. |
| The server does not start after a restart | A leftover __CoD2MP_s file remains in the main folder | Delete main\__CoD2MP_s before starting; the guide solves this with a pre-start script. |
| Not on the server list | A new server, or dedicated is not 2 | Wait a few minutes and check that dedicated is 2. You can always connect by IP. |
| Az 1.0/1.2 kliens nem tud csatlakozni | A szerver 1.3-as | The player must update to 1.3 (Steam copies already are). |
| Az eredeti 1.3-as kliens nem tud csatlakozni | A hosting guide says a client without CoD2x cannot reach a CoD2x server | Install CoD2x on the client (cod2x.me); a CoD2x client can join both kinds of server. |
| The map rotation does not work | sv_mapRotation spans several lines or the quotes are wrong | Put it on a single line and check the quotes. |
| Rcon commands do nothing | rcon_password is unset or left at the sample value | Set a strong rcon_password in dedicated.cfg. |
4. Saves and updates
- The game has no world save; the important files are in the main folder: dedicated.cfg (or server.cfg), CoD2x's ban.txt (main\ban.txt, bans are tied to HWID), and the map rotation.
- On Linux CoD2x updates itself automatically (sv_update, on by default); the update takes effect after a restart. Disable it with sv_update 0.
- On a rented server you can take a backup in the client area before making changes.
5. Settings, rcon and CoD2x
- Example settings from a sample config: sv_hostname, rcon_password, sv_maxclients, g_gametype, sv_maxping, sv_pure, sv_cheats, sv_allowDownload, sv_timeout, sv_kickBanTime.
- CoD2x extra settings: sv_fps, sv_cracked (players with invalid CD keys), sv_hideServerIp, and wallbang settings (off by default).
- CoD2x ban commands: /banClient ID and /unbanAll.
6. Choosing a plan
The sources we checked give no resource recommendation; the sample config uses 40 slots and CoD2x raised the sv_fps cap from 30 to 40. We promise no exact numbers. The game is old and modest resources may be enough, but we cannot give performance guarantees.



