There is no official dedicated server tool for the 2009 Modern Warfare 2; the community IW4x client enables dedicated servers. This article is based on the IW4x GitHub page and a community server guide. Checked 2026-11-17. IW4x is an unofficial project; the game and its name belong to their owners.
Our team sets the server up. Because the project changes quickly, always compare details with the current IW4x documentation; the server chapter of docs.iw4x.io was not reachable when we checked.
1. Requirements and ports
- According to the IW4x GitHub page a Steam copy of the game is required; the Microsoft Store version is not compatible.
- The -dedicated argument starts the game as a headless dedicated server (IW4x GitHub).
- The community guide lists the Visual C++ Redistributable, IW4x All-In-One Dedicated Server Edition and a machine or VPS that stays online 24/7.
- Port: the port set in the startup batch file must be reachable on both TCP and UDP. The guide uses 28961 in one place and 28960 for the party server, so always check your actual config.
2. First start and configuration
- There are two server types: the match server with a map rotation and no lobby (stable and recommended per the guide) and the party server with a lobby (buggy and may crash per the guide, not recommended).
- Match server: in DedicatedServer.bat set the game port and LAN mode.
- In the userraw folder's server.cfg set the hostname, message of the day, game mode and map rotation.
- Forward the configured TCP and UDP port, then run startserver.bat.
- Game mode codes, for example: war (Team Deathmatch), dm (Free-For-All), sd (Search and Destroy), ctf (Capture the Flag).
3. Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| The server does not show in the list | Missing port forwarding, wrong internal IP or NAT loopback | Check forwarding and the internal IPv4 address. NAT loopback can hide your own server from you while others see it (community guide) |
| No map loads | Faulty config | The console title bar shows the current map; if none is shown the server.cfg is wrong (community guide) |
| "Unable to download mod.iwd" | The mod files are not at the correct FastDL location | Set sv_wwwBaseURL and sv_wwwDownload and copy the mods folder into the web server's iw4x folder (community guide) |
| You need a password-protected server | g_password is not set | Permanent: g_password in server.cfg; temporary: g_password in the console, then map_restart if needed; clear with g_password "" (community guide) |
| You do not want the server public | The server gets listed publicly | sv_lanonly 1 keeps it off the list; if it already got listed, changing the port can help (community guide) |
| The party server crashes | The party server type is buggy | Use a match server (the guide recommends this) |
4. Saves and updates
- Back up the userraw folder (server.cfg, partyserver.cfg) and the mods folder you use.
- IW4x is distributed through its own launcher (IW4x GitHub); our team handles updating the server. Back up your configs before updating.
- After an update, test joining and the mods you use, and compare with the current IW4x documentation.
5. Administration and mods
- For administration the community guide recommends IW4MAdmin (map changes, bans); B3 is no longer actively supported.
- The IW4x GitHub page mentions launch options that disable the RCon rate limit check and the Mongoose HTTP server (-disable-rate-limit-check, -disable-mongoose).
- Client downloads of custom mods need FastDL (sv_wwwBaseURL, sv_wwwDownload).
6. Sizing: which plan to pick
IW4x documentation gives no official resource table. Load depends on player count and the number of servers running at once (match plus party); each needs its own port and config. No guarantees.
- One match server, small groups: Start.
- One server with many players: Pro.
- Several servers or running IW4MAdmin alongside: Max.



