Connecting to Your Server
How to join your Call of Duty 4: Modern Warfare dedicated server.
Requirements
- Call of Duty 4: Modern Warfare installed with patch 1.7 or the CoD4x client.
- Your server's connection string from the uHost dashboard.
TIP
If you're on stock patch 1.7 and connect to a CoD4x server, the CoD4x client update is applied automatically with no manual installation needed.
Connect via Console
The uHost dashboard shows your server's connection string ready to paste into the console. It looks like connect <address>:<port> where the address is either a uhost.run hostname or an IP address.
- Launch Call of Duty 4 and go to Multiplayer.
- Press ~ to open the console.
- Paste or type the connect command:
/connect <address>:<port>
If the server has a game password:
/password <server_password>
/connect <address>:<port>The password must be set before the connect command.
RCON Login
Once connected, you can authenticate for remote administration:
/rcon login <rcon_password>After logging in, prefix any server command with /rcon to execute it. See the RCON guide for the full command reference.
Connect via Server Browser
- Go to Multiplayer > Join Game.
- Set the source filter to Internet or Favorites.
- To add your server to favorites, open the console and type:
/connect <address>:<port> - Once connected, the server will appear in your Recent and can be added to Favorites.
INFO
The in-game server browser uses the CoD4x master server. Your server will appear in the browser automatically once it's running.
Port Information
| Port | Protocol | Purpose |
|---|---|---|
28960 | UDP | Game traffic (player connections, gameplay data) |
28960 | TCP | RCON and query traffic |
The default port is 28960 for both UDP and TCP. This is configured at the infrastructure level and does not need to be changed.
Common Connection Issues
Version Mismatch
Both the client and server must be compatible. uHost servers run CoD4x v1.8, which accepts connections from:
- CoD4x clients (any recent version)
- Stock patch 1.7 clients (auto-updated on connect)
If you're on an older patch, update to 1.7 first.
"Impure Client Detected"
The server enforces file purity (sv_pure 1) and your local game files don't match. To fix this:
- Remove any custom
.iwdfiles from yourmain/folder. - Verify your game installation is clean.
- Or ask the server admin to set
sv_pure "0"(not recommended for competitive play).
Mod Mismatch
If the server runs a mod, your client needs to download the mod files before joining. This happens automatically if sv_allowDownload "1" is set on the server. If the download stalls or fails:
- The server may have FastDL misconfigured. Contact the server admin.
- Try connecting again; large mods may take a moment to transfer.
Connection Timeout
- Verify the server is running on the dashboard.
- Check that you're using the correct address and port.
- Ensure your firewall or ISP isn't blocking UDP traffic on port 28960.
"Server is Full"
The server has reached its sv_maxclients limit. Wait for a slot to open, or increase the player limit from the dashboard.
