The Sons of the Forest dedicated server uses three UDP ports and is configured with a JSON dedicatedserver.cfg file. The most common problem is the port self-test: if a port is closed, the server will not start. The guide is based on operator documentation that cites Endnight's guide.
Checked 2026-11-17. The game updates rarely but values may change, so always check the current documentation. Our team sets the server up; you reach the console, file manager and backups in the client area.
1. Requirements and ports
- The server is Endnight's free tool (Steam app 2465200); downloading it needs no Steam account (SteamCMD, login anonymous).
- The server is built for Windows; on Linux SteamCMD needs +@sSteamCmdForcePlatformType windows and the server runs under Wine.
- A public IPv4 address is required; officially only IPv4 is supported.
- Three UDP ports: GamePort 8766, QueryPort 27016, BlobSyncPort 9700. All three must be reachable, otherwise the self-test stops the server from starting.
- The official guide gives no hardware requirements; the player count is at most 8.
2. First start and configuration
- Stop the server and edit dedicatedserver.cfg (JSON: text in quotes, a comma at the end of every line except the last).
- Main keys: ServerName, MaxPlayers (1-8), Password (max 40 characters, empty = public), LanOnly, GameMode (Normal, Hard, HardSurvival, Peaceful, Creative, Custom).
- Saves: SaveSlot (default 1), SaveMode (Continue or New), SaveInterval (default 600 s).
- Network: IpAddress (default 0.0.0.0), the ports and SkipNetworkAccessibilityTest (default false).
- Missing keys get defaults so you only need the keys you change; every key can also be given as a command-line option, which overrides the file.
{
"ServerName": "NAME",
"MaxPlayers": 8,
"Password": "",
"GameMode": "Normal",
"SaveSlot": 1,
"SaveMode": "Continue"
}3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Failed to get public ip from Steam. | No public IPv4 address | Provide a public IPv4 address. |
| UDP PORTNAME PORTNUMBER is closed. | The port is not forwarded or the firewall blocks it | Open all three UDP ports (8766, 27016, 9700). |
| The configuration couldn't be read without error. | Invalid JSON (missing comma or quote) | Fix the syntax. |
| Game settings couldn't be deserialized | Corrupt SonsGameSettings.cfg | Undo the edit or delete it; this resets key bindings and graphics. |
| The self-test fails but the server works | No NAT loopback on a home router | Setting SkipNetworkAccessibilityTest to true lets it start; test from another network. |
| Custom game mode settings are ignored | GameMode and CustomGameModeSettings apply only when a save is created | Try with a new save (SaveMode New, or a new SaveSlot). |
| A new world on every start | SaveMode is set to New | Set it to Continue. |
4. Saves and updates
- The world is in the server's user data folder under Saves/DedicatedServer/Multiplayer/0000000001/SaveData.zip; SaveSlot selects which save loads.
- SaveMode New overwrites the chosen slot on every start, so after the first new world set it to Continue.
- Updating: with SteamCMD +app_update 2465200. Do not edit the start script (StartSOTFDedicated.bat) directly, because an update restores it; use a copy.
- Take a backup in the client area before updating.
5. Admins and password
- Write the owners' SteamID64 into ownerswhitelist.txt, one per line, then restart the server. Lines starting with # are comments.
- Owners get the admin panel under Pause menu, Players, with the same rights as a P2P host.
- The official guide does not document RCON.
- The password is at most 40 characters; if empty the server is public.
6. Choosing a plan
- The player count is at most 8, so sizing depends more on world state and base size.
- Idle load can be reduced: IdleTargetFramerate (default 5), IdleDayCycleSpeed (default 0.0), ActiveTargetFramerate (default 60, minimum 10).
- We found no official hardware figures, so start with the Start or Pro plan and watch the load.
- These are recommendations, not performance guarantees.



