Sons of the Forest shipped without dedicated server support at launch, which frustrated a lot of groups who wanted a persistent world instead of relying on one friend's gaming PC to stay online. Endnight Games added an official dedicated server tool in a post-launch update, distributed through SteamCMD, and it has become the standard way serious co-op groups run long-term worlds. This guide walks through the full setup on Linux and Windows, realistic hardware sizing for the game's demanding Unreal Engine visuals and mutant AI simulation, and the specific late-game performance problems that show up once a base gets large and mutant density increases.

What Is the Sons of the Forest Dedicated Server?

The dedicated server is a separate, headless build of the game distributed via SteamCMD under app ID 2465200 (the dedicated server tool; the main game itself is a different app ID that players purchase and install normally). Running it gives you:

  • A persistent world that stays loaded 24/7, so base building, farming, and story progression continue exactly where the group left off.
  • No "host migration" problem \x2014 any player can disconnect and reconnect without ending the session for everyone else.
  • A dedicated config.json file controlling player slots, difficulty, PvP, and world settings independent of any player's local game settings.
  • Server-side performance isolated from a host player's own gaming session, which matters a lot in this game because mutant AI and forest simulation are CPU-intensive even before players show up.

Because Sons of the Forest uses Unreal Engine with heavy vegetation simulation, cave systems, and a growing number of active NPCs (mutants, Kelvin, Virginia) as the story progresses, server load increases over a playthrough rather than staying flat \x2014 plan hardware for late-game, not just the first session.

Why Vegetation and Cave Systems Matter for Server Load

Unlike a flat, open-world survival game, Sons of the Forest's world includes dense above-ground forest simulation and a separate network of underground caves that stream in as players explore them. Both systems add to the server's active memory footprint independently of player count \x2014 a solo host exploring deep cave networks can push server RAM usage up in ways that a purely above-ground, base-building session would not. Budget extra headroom if your group plans extensive cave exploration rather than staying mostly at a home base.

Story Progression and NPC Companion Load

Companion NPCs like Kelvin follow players, gather resources, and path through the world continuously, adding a steady background CPU cost distinct from mutant AI. This cost is roughly constant per companion rather than scaling with player count, so a solo or duo game with a companion active is not necessarily lighter than a four-player game without one \x2014 factor this into your sizing if your group plans to keep companions active for most of the playthrough.

Sons of the Forest Dedicated Server Requirements & Pricing

Server SizePlayersvCPURAMStorageEst. Price/Month
Small co-op1-44 vCPU8 GB25 GB NVMe$16-$26
Standard group4-66 vCPU12 GB35 GB NVMe$28-$42
Max capacity8 (game cap)8 vCPU16 GB50 GB NVMe$45-$65

Sons of the Forest currently caps official multiplayer at 8 players per server, so unlike open-ended survival titles you are sizing for a hard ceiling rather than an unbounded community. Even so, do not undersize the small tier \x2014 this game's mutant AI pathing and physics-based building system are noticeably more CPU-hungry per player than lighter titles like Valheim or Terraria, so a 4-player Sons of the Forest server benefits from more headroom than a 4-player server in a lighter game would need.

Sons of the Forest vs. Comparable Horror-Survival Titles

GamePlayer CapTypical 4-Player RAMPrimary Load Driver
Sons of the Forest88-10 GBMutant AI + physics building
Valheim10 (unofficial, higher with mods)4-6 GBWorld generation + creature AI
Project ZomboidConfigurable, often 16-32+4-8 GBZombie pathing at scale

This comparison is useful when your community splits its hosting budget across multiple horror/survival titles \x2014 Sons of the Forest's hard-cap of 8 players means you rarely need to size for enormous concurrency, but its per-player resource cost runs higher than lighter titles because of the physics-driven building system and increasingly aggressive mutant AI.

Step-by-Step Sons of the Forest Server Setup

1. Provision a capable Linux or Windows server

The dedicated server tool has both Windows and Linux builds. For most self-hosters, a Windows-based server is the path of least resistance since Endnight primarily tests and documents the Windows build, though the Linux build works well on a properly configured Linux dedicated server too if your team is comfortable with command-line administration.

2. Install SteamCMD

mkdir C:\steamcmd
cd C:\steamcmd
:: download steamcmd.zip from Valve and extract, then run:
steamcmd.exe +login anonymous +app_update 2465200 validate +quit

On Linux, the equivalent is:

mkdir -p ~/steamcmd && cd ~/steamcmd
wget -q https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz
./steamcmd.sh +force_install_dir ~/sotf-server +login anonymous +app_update 2465200 validate +quit

3. Configure config.json

The dedicated server generates a config.json on first run. Key fields to review:

  • ServerName and MaxPlayers (up to 8) \x2014 set MaxPlayers to match the hardware tier you chose above.
  • Password and LanOnly \x2014 set a password for any server not restricted to LAN, since public IP servers are discoverable.
  • GamePlay difficulty settings \x2014 Peaceful, Normal, or Hard, matching what your group agreed on before the world was created (changing difficulty mid-save has limited effect on already-spawned content).
  • SaveSlot \x2014 controls which save file the server loads; back this up before major updates.

4. Open the required ports

Sons of the Forest's dedicated server defaults to UDP port 8766 (game) and 8767 (query), though the game also opens a Steam networking port range around 27015-27016 depending on build. Open the game ports explicitly:

sudo ufw allow 8766:8767/udp
sudo ufw enable

On Windows Server, add matching inbound rules in Windows Defender Firewall for the same UDP range.

5. Launch the server

SonsOfTheForestDS.exe -serverip=0.0.0.0 -serverport=8766 -serverquery=8767 -saveslot=1

On Linux, launch the equivalent binary from the install directory. Watch console output for "Server ready" before inviting players to connect via the in-game "Join by IP" option.

6. Automate uptime and backups

Run the server under a process supervisor (a Windows service wrapper like NSSM, or systemd on Linux) so it restarts automatically after crashes or host reboots, and schedule automated copies of the save folder to separate storage. Base-heavy saves late-game can be large, so confirm your storage tier has headroom before your group builds a sprawling compound.

7. Set difficulty and enemy settings before your group commits to a save

The config.json exposes granular settings for enemy health, damage, and spawn rates in addition to the basic difficulty presets. Decide these as a group before your first real session \x2014 changing enemy-scaling settings mid-save can feel inconsistent to players who started under different rules, and some settings are more meaningfully experienced when set from the start rather than adjusted later.

8. Test the dedicated build before officially launching your season

Before announcing the server to your full group, have two people connect simultaneously, walk into a cave, and trigger a basic combat encounter with a mutant. This quick smoke test catches the most common setup mistakes (wrong port, missing firewall rule, mismatched game version) before your whole group's first session is disrupted by a fixable configuration issue.

Common Sons of the Forest Server Issues

Frame drops / stutter once mutant count increases late-game

This is the single most common complaint from self-hosted groups. As the story progresses, mutant spawns and AI pathing complexity increase, and a server sized only for the early game starts to lag. If you notice stutter appearing weeks into a save, that is a signal to upgrade CPU tier rather than RAM.

"Failed to connect" for remote players

Usually a port/firewall issue. Confirm UDP 8766/8767 are open both in the OS firewall and any cloud provider security group, and confirm players are using the server's public IP, not a local network address.

Save corruption after an ungraceful shutdown

Always stop the server with its proper shutdown command or service stop rather than killing the process directly, and keep at least 2-3 rotating backups so a single bad save does not end a long playthrough.

Server runs fine solo but degrades with 6-8 players

This points to CPU rather than RAM. Sons of the Forest's server-side simulation scales with both player count and world activity, so a max-capacity 8-player game genuinely needs the top hardware tier, not the entry tier stretched further than it should go.

Companion NPC (Kelvin) stops responding to commands

This is typically a client-server sync issue rather than a hardware problem, though it can be exacerbated by CPU contention on an undersized server. If it happens consistently rather than as a rare glitch, check for a pending game update that addresses known companion AI bugs before assuming it is a hosting issue.

Building pieces clip through terrain or disappear after reconnecting

Physics-based building occasionally desyncs when a player reconnects mid-session. This is usually cosmetic and resolves after a few seconds as the client re-syncs with the server; if it persists, verify your server and all clients are running the exact same game version.

Buyer's Checklist for Sons of the Forest Hosting

  • Confirm the provider supports SteamCMD app ID 2465200 specifically (some game panels only pre-configure a curated list of titles).
  • Check whether the plan includes enough CPU headroom for late-game mutant density, not just early-game benchmarks.
  • Verify NVMe storage and automated backup options before your group invests dozens of hours into a base.
  • Ask if the host allows both Windows and Linux builds, in case you want to switch later.
  • Confirm you can open custom UDP ports without a support ticket delay.
  • Check whether monthly billing is available so you are not locked into a long-term plan for what may be a finite co-op playthrough.

Optimizing Server Performance for Late-Game Sessions

Track performance across your playthrough, not just at launch

Because mutant density and base complexity increase as your group progresses through the story, a server that ran smoothly in week one is not guaranteed to run smoothly in week four. Check basic CPU/RAM usage (via htop on Linux or Task Manager on Windows) periodically through your playthrough rather than assuming your initial sizing decision holds for the entire game.

Consider a mid-playthrough upgrade instead of over-provisioning from day one

Since most hosting providers, including WebsNP, allow resizing a VPS or upgrading a dedicated server plan without a full migration, it is often more cost-effective to start on a mid-tier plan and upgrade once you notice real performance strain, rather than paying for max-tier hardware from session one on the assumption you will eventually need it.

Isolate your Sons of the Forest server from other workloads

If you are running this on a shared home lab machine or general-purpose server also handling other tasks, dedicate consistent CPU and RAM to the game server process specifically. Resource contention with unrelated background tasks is a common, easily overlooked cause of unexplained late-game stutter that has nothing to do with the game itself.

Frequently Asked Questions

Does Sons of the Forest have official dedicated server support?

Yes, Endnight Games added an official dedicated server tool via SteamCMD (app ID 2465200) after launch, and it is the recommended way to run a persistent multiplayer world.

How many players can join a Sons of the Forest server?

Official multiplayer currently supports up to 8 players per server.

What are the minimum specs for a Sons of the Forest dedicated server?

For a small group of 1-4 players, 4 vCPU and 8 GB RAM is a reasonable starting point; groups pushing toward the 8-player cap should budget for 8 vCPU and 16 GB RAM given the game's CPU-heavy mutant AI and vegetation simulation.

Can I run the dedicated server on Linux?

Yes, Endnight ships a Linux build alongside the Windows build, though the Windows build is generally the more heavily documented and tested path.

Why does my server slow down as the save progresses?

Mutant spawns and world activity increase over a playthrough, so server load is not flat \x2014 size hardware for what your group expects late-game, not just your first session.

How do I back up my Sons of the Forest server save?

Copy the save-slot folder from the server's installation directory on a schedule, ideally to separate storage, and always back up before applying a game update in case of save-format changes.

Should I choose Windows or Linux hosting for Sons of the Forest?

Windows hosting is generally the path of least resistance since Endnight primarily tests and documents the Windows build first; Linux hosting is typically cheaper and works well once configured, but expect slightly less official documentation to lean on if something goes wrong.

How does Sons of the Forest compare to Abiotic Factor for hosting difficulty?

Both are Unreal Engine co-op survival titles with a hard player cap and NPC/creature-driven server load, making the operational lessons largely transferable; see our Abiotic Factor dedicated server guide if you are running or considering both.

What is the difference between the dedicated server and hosting through a friend's game?

Hosting through a friend's game (peer hosting) ties the world to their console or PC being online and running the game client; the dedicated server tool runs headless, independent of any player's client, and keeps the world active 24/7 regardless of who is currently playing.

Can I run a Sons of the Forest server on a shared-core budget VPS?

You can for a very small group, but shared-core (burstable) CPU tiers are more prone to the desync and stutter issues described above once mutant density increases. A dedicated-core plan is a worthwhile upgrade for any group planning a full playthrough rather than a single short session.

A properly sized Sons of the Forest dedicated server turns a horror-survival co-op session into a persistent world your group can return to for months. WebsNP's Windows hosting and Linux dedicated servers both support the official SteamCMD tool \x2014 contact our team if you want help picking the right tier for your group size.