Home

Sons of the Forest

Config Generator

Fill in the fields below to generate a ready-to-use dedicatedserver.cfg.json for your Sons of the Forest dedicated server. For the full setup walkthrough -- getting the server files, required ports and starting it up -- see the Sons of the Forest setup guide. Not sure your hardware is up to it? Check compatibility first.

The single JSON config file, placed in the server's configurations folder as dedicatedserver.cfg.

Source: Community-documented (Endnight Games doesn't publish a formal reference); cross-checked against real shipped dedicatedserver.cfg.json examples.

dedicatedserver.cfg.json preview

{
  "IpAddress": "0.0.0.0",
  "GamePort": 8766,
  "QueryPort": 27016,
  "BlobSyncPort": 9700,
  "ServerName": "My Sons of the Forest Server",
  "MaxPlayers": 8,
  "Password": "",
  "LanOnly": false,
  "SaveSlot": 1,
  "SaveMode": "Continue",
  "GameMode": "Normal",
  "SaveInterval": 600,
  "GameSettings": {},
  "CustomGameModeSettings": {}
}
Source: Community-documented (Endnight Games doesn't publish a formal reference); cross-checked against real shipped dedicatedserver.cfg.json examples.

Server running but nobody can join?

A wrong or missing setting in this file isn't the only reason players can't connect -- see the connection troubleshooting guide for port forwarding, firewall and CGNAT issues.