This article covers setting up the original Project CARS dedicated server: ports, the important server.cfg keys, race rotation and common problems. Our sources are the server's public sample configuration and hosting guides; we found no official developer documentation, so the details are based on the sample files.
Checked 2026-11-17. Games and server software change between versions, so if something differs, check the current documentation or ask our team.
1. Requirements and ports
The sample configuration names four ports. The queryPort must be reachable from the internet because the Steam server browser queries the server on it. Our team configures the firewall.
| Kulcs | Default in the sample | Purpose |
|---|---|---|
| hostPort | 27015 | Game traffic |
| queryPort | 27016 | Steam server browser queries |
| steamPort | 8766 | Steam communication |
| httpApiPort | 9000 | HTTP API (csak ha az enableHttpApi be van kapcsolva) |
2. First configuration: server.cfg
- The main file is server.cfg. Open it in the file manager while the server is stopped.
- name: the server name shown in the browser. password: leave empty for a public server.
- maxPlayerCount and sessionAttributes MaxPlayers/GridSize: the game supports sessions of up to 32; above 16, 32-bit clients cannot join (per the sample's notes).
- secure: when true it checks VAC bans through Steam authentication. bindIP: empty means all interfaces.
- By default the first driver to join becomes host and picks the track, cars and weather in the lobby. To lock this yourself, set controlGameSetup to true.
- After saving and starting, check the console for errors.
3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| You cannot see the server in the browser | A filter is active, or queryPort is unreachable | Clear filters and refresh; the server appears even when empty, marked with a server icon. Wait a minute after startup. |
| 32 bites kliensek nem tudnak csatlakozni | maxPlayerCount or GridSize is above 16 | Set it to 16 or lower if 32-bit clients play. |
| You cannot join your own server (whitelist) | whiteList is enabled and only the sample SteamID is on it | The whitelist in server_with_lists.cfg is a sample admitting one SteamID; remove it or add your own SteamID. |
| Track/car is not what you configured | controlGameSetup false | Set it to true, then give TrackId and VehicleClassId/VehicleModelId in the rotation file (lua_config/sms_rotate_config.json). |
| Rotation does not restart from the first race | The server remembers its place in the rotation | Stop the server, delete lua_config/sms_rotate_data.json, then start it. |
| Server will not come up after editing | Elrontott JSON/konfig szintaxis | Keep quotes, colons and braces intact; the console reports the offending line. Leave the version line at the top of the rotation file untouched. |
| MI-ellenfelek nem jelennek meg | OpponentDifficulty only applies under conditions | GridSize must be larger than MaxPlayers and the FILL_SESSION_WITH_AI flag must be enabled. |
4. Saves and updates
The valuable data is configuration: server.cfg, blacklist.cfg, whitelist.cfg and the lua_config folder (the rotation and its position). Back up in the client area before editing. Players need the latest Steam version, so after a game update we also take care of updating the server; tell us if joining fails after an update.
5. Lua addons and access
- The sample enables Lua addons: sms_base, sms_rotate, sms_motd, sms_stats; enableLuaApi is true by default. According to the sample the Lua API is unfinished, breaking changes are planned and there is no sandbox, so only use trusted addons.
- The blacklist is loaded from blacklist.cfg; if whiteList is enabled, only listed players can join and the blacklist is ignored.
- HTTP API: off by default (enableHttpApi false) and listening only on the local interface unless you change it; only enable it if you know what you use it for.
6. Choosing a plan
Load is driven mainly by the session's player count (the game supports sessions of up to 32) and whether Lua addons run. The sample config also contains tick delays (sleepWaiting, sleepActive). We do not guarantee performance: for small friendly races Start may be enough, for bigger full-grid races Pro or Max gives more headroom. If it lags, tell us and we will take a look.



