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
Updated Nov 26, 2026 · 8 min read
Read inesen
Block-art forest island with the title of this guide to a Sons of the Forest dedicated server

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.

  • 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, the document its Patch 07 notes point to, and from the game's Steam page, 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.

KeyDefaultWhat it does
ServerNameSons Of The Forest Server (dedicated)The name in the server list
MaxPlayers81 to 8
PasswordemptyAsked on join; up to 40 characters
LanOnlyfalseTrue hides the server from the internet list
SaveSlot1The id of the save the server writes
SaveModeContinueContinue loads the slot or creates it; New overwrites it on every start
GameModeNormalNormal, hard, hardsurvival, peaceful, creative or custom
SaveInterval600Seconds between automatic saves
IdleDayCycleSpeed0.0How fast time passes with nobody connected
SkipNetworkAccessibilityTestfalseSkips 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.

5. The settings in the Game tab

Setting on 1upKey in the fileValuesDefault
Autosave (s)SaveInterval60 to 3600 seconds600
Max playersMaxPlayers1 to 8, within your plan's slots8
Server passwordPassword4 characters or more; empty for noneNone

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 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 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 (rafts and defensive wall blueprints), and a Unity security update 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, VAT included:

PlanPriceRAMDiskBackupsSons of the Forest
Free€08 GB with the hourglass20 GBnoneHourglass at ×4, up to 4 players
Pro€10/month8 GB60 GB524/7, all eight players
Studio€20/month16 GB80 GB1024/7, room for a long save
Ultra€50/month32 GB100 GB2024/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 compares what each one needs, the guide to a Return to Moria dedicated server covers another eight-player world, and free vs paid game server hosting sets out the trade-off.

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 authorFounder, 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

Keep reading