---
title: "Sons of the Forest Dedicated Server: Setup Guide"
url: https://1up-servers.com/en/blog/sons-of-the-forest-dedicated-server/
lastmod: 2026-11-26
---

# Sons of the Forest Dedicated Server: Setup, Ports, Config and Saves

Run a Sons of the Forest dedicated server for your group: Endnight's server tool, the three UDP ports, dedicatedserver.cfg, save modes, admins, joining and hosting.

By [Xabier Martínez Parada](https://1up-servers.com/en/blog/author/baurtock/)
Updated Nov 26, 2026 · 8 min read

Read in[es](https://1up-servers.com/es/blog/servidor-dedicado-sons-of-the-forest/)[en](https://1up-servers.com/en/blog/sons-of-the-forest-dedicated-server/)

**Your game server, free**Ready in 60 seconds, no card.[Create free server](https://1up-servers.com/en/signup/)

A Sons of the Forest dedicated server keeps the island running when the host closes the game: the base and the defences are there for whoever logs in next. This guide follows Endnight's documentation for the server tool, its ports, its config file and its saves, then shows how it runs on our [Sons of the Forest server hosting](https://1up-servers.com/en/sons-of-the-forest/).

- **What it is:** Endnight's free **Sons Of The Forest Dedicated Server**, Steam app 2465200. Dedicated servers arrived with Patch 07 in June 2023.
- **Players:** up to eight on one server.
- **Ports:** three, all UDP: 8766 for the game, 27016 for the Steam query and 9700 for BlobSync.
- **Config:** one JSON file, `dedicatedserver.cfg`, plus `ownerswhitelist.txt` for the admins.
- **On 1up:** online 24/7 from the Pro plan (€10/month, 8 GB of RAM). On Free it runs with the hourglass at ×4, enough to try it with the group.

## 1. What the dedicated server needs

Everything in this section comes from Endnight's [Dedicated Server Guide](https://steamcommunity.com/sharedfiles/filedetails/?id=2992700419), the document its [Patch 07 notes](https://store.steampowered.com/news/app/1326470/view/5124581515258878943) point to, and from the game's [Steam page](https://store.steampowered.com/app/1326470/Sons_Of_The_Forest/), both read on 26 November 2026.

- **The tool:** it sits in the Tools section of your Steam library, or you download it without an account through SteamCMD: `steamcmd +force_install_dir "c:/sons-dedicated/" +login anonymous +app_update 2465200 validate +quit`.
- **System:** the guide describes a Windows install started from `StartSOTFDedicated.bat`, and the Steam page lists Windows as the only platform of the game. A Linux host has to run the Windows program through a compatibility layer.
- **Ports:** `GamePort` 8766, `QueryPort` 27016 and `BlobSyncPort` 9700, all UDP. All three have to be forwarded on the router and allowed in the firewall.
- **Self-test:** on every boot the server checks its config and whether the three ports can be reached from the internet. If a test fails, the server does not start and the console names the reason.
- **RAM:** Endnight gives no figure for the server. The Steam page asks 12 GB for the game itself and recommends 16 GB. In our catalogue the server starts at 8 GB, and 16 GB is what we recommend as the save fills with structures.

At home that means a Windows PC that stays on, three forwarded ports and a public IPv4 address, since the guide says only IPv4 is supported. Routers without NAT loopback are a known trap: the self-test cannot reach its own public address, and the guide's last resort is the `SkipNetworkAccessibilityTest` setting.

## 2. dedicatedserver.cfg, the file that decides everything

The first start creates the files in the user data folder, by default `C:\Users\<user>\AppData\LocalLow\Endnight\SonsOfTheForestDS`, or wherever `-userdatapath` points. The config is strict JSON: one missing comma and the self-test stops the boot.

| Key | Default | What it does |
| --- | --- | --- |
| `ServerName` | Sons Of The Forest Server (dedicated) | The name in the server list |
| `MaxPlayers` | 8 | 1 to 8 |
| `Password` | empty | Asked on join; up to 40 characters |
| `LanOnly` | false | True hides the server from the internet list |
| `SaveSlot` | 1 | The id of the save the server writes |
| `SaveMode` | Continue | Continue loads the slot or creates it; New overwrites it on every start |
| `GameMode` | Normal | Normal, hard, hardsurvival, peaceful, creative or custom |
| `SaveInterval` | 600 | Seconds between automatic saves |
| `IdleDayCycleSpeed` | 0.0 | How fast time passes with nobody connected |
| `SkipNetworkAccessibilityTest` | false | Skips the network part of the self-test |

Two details save a lot of confusion:

- **`GameMode` only counts when the save is created.** With `SaveMode` on Continue and a save already in the slot, the server ignores it. The same goes for `CustomGameModeSettings` (enemy health, season length, cold penalties and the rest): they are written once, at creation.
- **`SaveMode: "New"` is not a one-off.** As long as it stays in the file, each restart wipes the slot. Use it once, then put Continue back.

Two switches work in any mode, inside `GameSettings`: `Gameplay.TreeRegrowth` and `Structure.Damage`.

## 3. Admins: ownerswhitelist.txt

There is no remote console. Administration happens in the game, from the pause menu, and only for the Steam accounts listed in `ownerswhitelist.txt`, one SteamID per line. The guide gives owners the rights of a peer-to-peer host: promote players to administrators, demote them to guests, kick, ban and unban. Lines that start with `#` are comments, so you can write a name above each id. Restart the server after editing the file.

## 4. Create a Sons of the Forest server on 1up

1. Create an account and press **+ Create server**.
2. Choose **Sons of the Forest**. Pro, Studio and Ultra keep it online 24/7. On Free the server gets the 8 GB it needs and your free time runs four times faster: the hourglass, shown as ×4 before you create anything.
3. Pick a region, London or Paris. The wizard measures your ping and suggests the nearest one.
4. Start the server and follow the **Console**. The first start downloads Endnight's server through SteamCMD and creates the save; the island is open when the log prints `Dedicated server loaded.`

Our nodes run Linux, so the Windows server runs under Wine with a virtual display. Nothing to set up for that. The server gets three public UDP ports of its own, which are not 8766, 27016 and 9700, and we switch on `SkipNetworkAccessibilityTest` because the self-test cannot pass behind a node's port mapping.

**Shortcut: on 1up it takes three clicks**

Your free server in 60 seconds. No card.

[Try Sons of the Forest on Free](https://1up-servers.com/en/signup/?game=sotf)

## 5. The settings in the Game tab

| Setting on 1up | Key in the file | Values | Default |
| --- | --- | --- | --- |
| **Autosave (s)** | `SaveInterval` | 60 to 3600 seconds | 600 |
| **Max players** | `MaxPlayers` | 1 to 8, within your plan's slots | 8 |
| **Server password** | `Password` | 4 characters or more; empty for none | None |

All three apply on the next restart. Keep the password within the 40 characters Endnight allows; our field accepts longer ones, and the game does not.

The panel rewrites the keys it owns in `dedicatedserver.cfg` on every start: the ports, the name, the three settings above, slot 1, Continue and the idle values. What you add inside `GameSettings` through the **Files** tab stays. One limit to know before you pay: today our servers create the island in **Normal** mode, and the panel has no selector for hard, peaceful, creative or custom. If your group wants a custom-rules island, this is not yet the place for it.

To administrate from the game, open **Players** → **Admins**. The panel tells you the list lives in `userdata/ownerswhitelist.txt` and links to **Files**, where you add your SteamID and restart.

## 6. How friends join

Sons of the Forest lists dedicated servers in the dedicated server browser of its multiplayer menu, and since [Patch 09](https://store.steampowered.com/news/app/1326470/view/5127964289174027833) you can also connect straight to an address and port without waiting for the whole list to refresh.

1. Open the **Overview** of your server. It shows the steps for this game with the address and the port to type.
2. Send your friends the address, the port and the password, or the server's name so they can search for it.
3. The game asks for the password when they connect.

A new server can take a few minutes to show up in the list. If your friends add it as a Steam favourite, they need the **Steam favourites address** from the **Server** tab, because Steam asks on the query port and not on the game port.

## 7. Saves, backups and an island that waits

- **Autosave:** every ten minutes by default. A shorter interval loses less after a crash.
- **Stop:** since [Patch 08](https://store.steampowered.com/news/app/1326470/view/5124584051970861703) dedicated servers save before shutting down. A stop from our panel sends the server the interrupt it expects, the log shows `Autosave complete.` and the process exits by itself.
- **Empty server:** with `IdleDayCycleSpeed` at 0, which is Endnight's default and ours, time stands still while nobody is connected. No winter arrives while everyone is at work.
- **Backups:** the save folder, `userdata/Saves`, the config and the admin list are in every backup; the game files are not, since SteamCMD installs them again. Pro keeps 5 backups, Studio 10 and Ultra 20. Free has none.

Take a backup before a game update. Endnight's last content update is from [15 January 2025](https://store.steampowered.com/news/app/1326470/view/1788945554762878) (rafts and defensive wall blueprints), and a [Unity security update](https://store.steampowered.com/news/app/1326470/view/1811772772517758) for the game and its dedicated server followed on 3 October 2025. Our image installs the current build at every start, so after a patch a restart puts the server on the same version as your friends.

## 8. What it costs on 1up

Prices are the ones on [our pricing page](https://1up-servers.com/en/pricing/), VAT included:

| Plan | Price | RAM | Disk | Backups | Sons of the Forest |
| --- | --- | --- | --- | --- | --- |
| Free | €0 | 8 GB with the hourglass | 20 GB | none | Hourglass at ×4, up to 4 players |
| Pro | €10/month | 8 GB | 60 GB | 5 | 24/7, all eight players |
| Studio | €20/month | 16 GB | 80 GB | 10 | 24/7, room for a long save |
| Ultra | €50/month | 32 GB | 100 GB | 20 | 24/7, far more than one island needs |

Casual (2 GB) and Starter (4 GB) do not have the memory, so the wizard does not offer them for this game. Paid plans are refunded on request within 3 days.

Free is a fair way to find out whether the group will actually show up; a server that is always there starts at Pro. If you are still choosing a game, our list of the [best co-op survival games to host](https://1up-servers.com/en/blog/best-co-op-survival-games-to-host/) compares what each one needs, the guide to a [Return to Moria dedicated server](https://1up-servers.com/en/blog/return-to-moria-dedicated-server/) covers another eight-player world, and [free vs paid game server hosting](https://1up-servers.com/en/blog/free-vs-paid-game-server-hosting/) sets out the trade-off.

**Sons of the Forest 24/7 from Pro**

Your own Sons of the Forest server online around the clock on the Pro plan, €10.00 a month.

[Sons of the Forest 24/7 on Pro](https://1up-servers.com/en/signup/?plan=pro&game=sotf)

Written on 2026-11-26. Game facts come from Endnight's Dedicated Server Guide, its patch notes and the Steam page, fetched that day; ports, config rendering, stop and backups come from our Sons of the Forest image and panel on 1up v1.134.0. We did not join one of our servers from a game client for this guide.

**Change log**

- 2026-11-26: first version.

## Frequently asked questions

Install Sons Of The Forest Dedicated Server from the Tools section of Steam or with SteamCMD (app 2465200), start it once so it creates dedicatedserver.cfg and ownerswhitelist.txt, forward UDP 8766, 27016 and 9700 and restart. Or create a hosted server and start it from a panel.

About the author[Xabier Martínez Parada](https://1up-servers.com/en/blog/author/baurtock/)Founder, developer and support

I'm Xabier Martínez Parada, the founder of 1up-servers. I've run game servers for my friends since 2007 (World of Warcraft private servers and Counter-Strike came first). These days I write the code for 1up, look after its servers and answer support myself.

[More about me](https://1up-servers.com/en/about/)

## Keep reading

[Space Engineers · 7 min**Space Engineers Dedicated Server: Setup, Worlds, Admins and RAM**](https://1up-servers.com/en/blog/space-engineers-dedicated-server/)[Icarus · 7 min**Icarus Dedicated Server: Setup, Olympus, Admin Commands and RAM**](https://1up-servers.com/en/blog/icarus-dedicated-server/)[Return to Moria · 6 min**Return to Moria Dedicated Server: Setup, Invite Code, Saves and RAM**](https://1up-servers.com/en/blog/return-to-moria-dedicated-server/)
