Sons of the Forest Dedicated Server: Setup or Rent

Self-host a Sons of the Forest dedicated server on Windows or compare managed hosting. Includes UDP ports 8766, 27016 and 9700, settings and backups.

sons-of-the-forest game artwork
Source: coop-legends.de

Overview

Sons of the Forest has an official Windows dedicated-server tool. To host your own always-available co-op world, install Sons Of The Forest Dedicated Server from Steam's Tools category, allow UDP 8766, 27016 and 9700 through the host firewall and router, and edit dedicatedserver.cfg for the server name, password and save settings.

Self-host or rent? Running your own server provides direct control of files and backups, but requires a publicly reachable internet connection, Windows administration and port forwarding. A managed host may handle updates and networking, but check its backup policy, server location, configuration access and cancellation terms before choosing a plan. Advertised player slots alone do not guarantee performance.

The official server tool documented here targets Windows. The reviewed official sources do not establish a native Linux dedicated-server release; Wine and container methods should be treated as community workarounds. See the Sons of the Forest game profile for its co-op features.

Install the dedicated-server Steam Tool

  1. Open your Steam Library.
  2. Enable the Tools category in the Library filter.
  3. Find and install Sons Of The Forest Dedicated Server.
  4. Launch it once so initial server data and configuration files are created.

The separate Steam server package is listed as a Windows tool; this guide does not claim official native Linux support.

Which ports does Sons of the Forest use?

The server runs a built-in network self-test during startup. Endnight's official Steam dedicated-server discussion lists these default UDP ports:

PortService
8766/UDPGamePort
27016/UDPQueryPort
9700/UDPBlobSyncPort

For an internet-accessible home server, allow them in the Windows firewall and forward them to the server PC in your router. If you customize any port, use the corresponding configured value instead of the default.

Configure dedicatedserver.cfg

The main configuration is dedicatedserver.cfg. It specifies the server name, maximum players, password, LAN mode, selected save slot and game mode.

The default setup uses eight players. Important keys include ServerName, MaxPlayers, Password, LanOnly, SaveSlot, SaveMode and GameMode.

Back up the config and edit it while the server is stopped. Setting LanOnly=true creates a local-network setup rather than a normal internet-facing public server.

Check server startup and connectivity

Run the dedicated server and read its console output. The built-in self-test checks whether GamePort, QueryPort and BlobSyncPort are reachable from outside. If one fails, review router forwarding, Windows firewall rules and possible double-NAT restrictions at your internet provider.

Being able to connect over your home LAN is not proof that players from another network can join. Test from outside the network or use the server's external reachability test.

Back up your world and configuration

Before updates, editing dedicatedserver.cfg or moving a world, stop the server completely and make a copy of its data. After restoring, verify not only that the world loads but also buildings, inventories and the selected save slot. Keep the original backup until the new instance has been tested successfully.

Managed hosting or self-hosting?

Self-hosting requires ongoing Windows administration, updates, firewall rules, router setup and backups. A managed host can remove some of that work, especially for 24/7 availability or internet services without straightforward forwarding. Compare player capacity, backup exports, file access, server location, configuration control and the host's server-update turnaround rather than price alone.

UDP 8766 for GamePort, UDP 27016 for QueryPort and UDP 9700 for BlobSyncPort; custom configurations may differ.

The documented default MaxPlayers value is eight, matching the normal maximum co-op player count.

The official Steam tool was documented for Windows. Community workarounds for Linux are not officially supported native installations in the reviewed sources.

Check local firewall, router forwarding, double NAT and whether your internet connection permits an externally reachable IPv4 endpoint. The server tests port reachability during startup.