GUIDES · SHOOTERS & SOURCE · cod-mw2
How to host a server for Call of Duty: Modern Warfare 2 (IW4x)
Dedicated Call of Duty: Modern Warfare 2 (IW4x) server managed with Server Dock (Windows). Automatic setup, live console, configs, and backups.
Real-World Resource Calculator · Call of Duty: Modern Warfare 2 (IW4x)
Estimate actual RAM, CPU, and disk usage for your player count, map, and cluster size.
For small friend groups (2–10 players), real RAM usage is often 1.5–2× lower than peak catalog numbers.
Step-by-step installation & launch guide
1. Install the Server Dock agent on your PC, Steam Deck, or Linux VPS
Create a free account at server-dock.net. Get the installer from the Download page and run it on Windows 10/11 (x64). In the wizard click “Подключить мой аккаунт” (Connect my account) and enter the 8-character code on the site. Python is bundled.
# Windows (PowerShell) irm https://server-dock.net/install.ps1 | iex
2. Create a "Call of Duty: Modern Warfare 2 (IW4x)" server from the catalog
Open "Games & Services" in the panel → search for "Call of Duty: Modern Warfare 2 (IW4x)" → pick your device. The panel automatically verifies free memory (recommended 2 GB+ RAM) and disk space (10 GB+).
3. Automatic setup (Owner files / Steam library setup)
Requires the owner’s game files (supports quick import from a local Steam library or upload via the Files tab).
4. Configure settings and start the server
Set server name, password, map/world, and ports (28960 (Server Port)) in the Settings tab, then click Start. Watch real-time readiness in the live console.
5. Invite friends to join
Open the Connection tab inside the server: forward ports (28960 (Server Port)) on your router / VPS firewall, or enable built-in Porthole, Playit, or the VPS tunnel wizard (no static IP needed). Share the 1-click invite link with friends.
Network ports · Call of Duty: Modern Warfare 2 (IW4x)
For direct friend connections, forward these ports on your router or VPS Cloud Firewall. Behind CGNAT? Enable built-in Porthole, Playit, or the VPS tunnel wizard right inside Server Dock.
| Purpose | Default Port | Description |
|---|---|---|
| Server Port | 28960 | Default server network port. |
Key panel settings
| Setting | Default | Description |
|---|---|---|
| Server Port | 28960 | Configurable in the web panel before launch. |
| Max Players | 18 | Configurable in the web panel before launch. |
| Password | — | Configurable in the web panel before launch. |
| Logfile | 2 | Configurable in the web panel before launch. |
| G Log Sync | 1 | Configurable in the web panel before launch. |
| G Log | logs/games_mp.log | Configurable in the web panel before launch. |
| Com Log Filter | 1 | Configurable in the web panel before launch. |
| Sv Hostname | Server Dock MW2 | Configurable in the web panel before launch. |
| Sv Motd | ^4Welcome to CODMW2! | Configurable in the web panel before launch. |
| Server Admin | — | Configurable in the web panel before launch. |
| Server Admin Email | — | Configurable in the web panel before launch. |
| Server Admin Website | — | Configurable in the web panel before launch. |
| Server Location | Earth | Configurable in the web panel before launch. |
| Rcon Timeout | 100 | Configurable in the web panel before launch. |
Backups & saved paths
When creating a backup, Server Dock automatically archives: userraw, mods.
Official documentation
Additional game parameters are documented in the official Call of Duty: Modern Warfare 2 (IW4x) documentation ↗.
Call of Duty: Modern Warfare 2 (IW4x) Server FAQ
How do I host a Call of Duty: Modern Warfare 2 (IW4x) dedicated server on my own PC?
Sign up for Server Dock, install the lightweight Windows or Linux agent, pick Call of Duty: Modern Warfare 2 (IW4x) from the catalog, and click Create. Server files and dependencies are installed automatically.
What are the RAM, disk, and OS requirements for a Call of Duty: Modern Warfare 2 (IW4x) server?
Recommended minimum: 2 GB RAM and 10 GB free disk space. Supported platforms: Windows.
Which ports does Call of Duty: Modern Warfare 2 (IW4x) use, and can friends join without port forwarding?
Default Call of Duty: Modern Warfare 2 (IW4x) ports: 28960. You can forward them on your router or enable the built-in Playit / Porthole tunnel in one click with zero router changes.
Is Server Dock free for hosting a Call of Duty: Modern Warfare 2 (IW4x) server?
Yes. Server Dock Free is free forever and keeps all Call of Duty: Modern Warfare 2 (IW4x) worlds, mods, and backups locally on your own PC or VPS.
Ready to host your Call of Duty: Modern Warfare 2 (IW4x) server?
Create a free account or sign in to Server Dock—our agent downloads Call of Duty: Modern Warfare 2 (IW4x), configures ports, and launches your world in minutes.
More guides in "Shooters & Source"
- Alien Swarm: Reactive DropDedicated Alien Swarm: Reactive Drop server managed with Server Dock (Windows). Automatic setup, live console, configs, and backups.
- Alien Swarm: Reactive Drop · ProtonDedicated Alien Swarm: Reactive Drop · Proton server managed with Server Dock (Linux). Automatic setup, live console, configs, and backups.
- Among Us · Impostor ServerDedicated Among Us · Impostor Server server managed with Server Dock (Windows · Linux). Automatic setup, live console, configs, and backups.
- Arma 3 Dedicated ServerDedicated Arma 3 Dedicated Server server managed with Server Dock (Windows · Linux). Automatic setup, live console, configs, and backups.
- Arma ReforgerDedicated Arma Reforger server managed with Server Dock (Windows · Linux). Automatic setup, live console, configs, and backups.
- Black Mesa: DeathmatchDedicated Black Mesa: Deathmatch server managed with Server Dock (Windows · Linux). Automatic setup, live console, configs, and backups.