How to Make a Sons of the Forest Server

  • 8 min read
  • Updated 7 October 2026
  • ESAGAMES Team

A complete walkthrough for running your own Sons of the Forest dedicated server — install it with SteamCMD, edit dedicatedserver.cfg for name, difficulty and player count, open the ports, and go live 24/7. The same steps work on a spare PC or on a rented VDS that stays online 24/7.

Sons of the Forest ships a free dedicated server tool (a separate download from the game). You can self-host it on a spare PC, or rent a VDS for a 24/7 world behind DDoS protection. A dedicated server keeps your co-op world persistent so friends can play even when you're offline.

This guide covers the self-hosted SteamCMD route step by step. If your server won't appear afterwards, see our fix for Sons of the Forest server not showing.

For an always-online world, Sons of the Forest server hosting runs the dedicated server on a VDS with a public IP behind our Anti-DDoS.

What you'll need

  • A machine to run the server — a spare PC, or a VDS for 24/7 uptime.
  • SteamCMD, to download the free dedicated server (app 2465200).
  • Open ports: UDP 8766 (game), UDP 27016 (query), UDP 9700 (blob sync).
  • dedicatedserver.cfg configured (name, players, difficulty).
  • On Linux, Proton/Wine to run the Windows server binary.

Set up a Sons of the Forest dedicated server, step by step

  1. Step 1: Choose a spare PC or a VDS

    The dedicated server is free, but self-hosting needs a PC on 24/7 and port-forwarding. A VDS in a datacentre keeps the world online 24/7 with a public IP, and you follow the same steps over SSH (under Wine on a Linux VDS).

  2. Step 2: Install the server with SteamCMD

    The Sons of the Forest dedicated server is Steam app 2465200 — a free, anonymous download; you don't need to own the game on the server machine.

    steamcmd +login anonymous +force_install_dir ./sotfserver +app_update 2465200 validate +quit
  3. Step 3: Edit dedicatedserver.cfg

    The whole server is configured in dedicatedserver.cfg — set ServerName, MaxPlayers, Password, difficulty and the network ports. Keep the default ports unless you know you need to change them.

    {
      "ServerName": "My ESAGAMES SOTF Server",
      "MaxPlayers": 8,
      "GamePort": 8766,
      "QueryPort": 27016,
      "BlobSyncPort": 9700
    }
  4. Step 4: Launch the server

    Start it with StartSOTFDedicated.bat on Windows (or the binary under Proton/Wine on Linux). The first boot generates the save and world files, so give it a minute.

    StartSOTFDedicated.bat
  5. Step 5: Open the ports

    Forward UDP 8766 (game), UDP 27016 (query — lists it for players) and UDP 9700 (blob sync). Miss the query port and friends can't find the server. On a VDS there is no router to forward: just allow them if you run a firewall.

    8766/udp    game (default)
    27016/udp   query (lists the server)
    9700/udp    blob sync (world data)
  6. Step 6: Invite friends & keep it persistent

    A dedicated server keeps the world saved and online even when you log off. Share the IP (or password), and your co-op progress carries between sessions. Back up the save folder regularly.

Run a stable SOTF server

  • Open all three ports

    8766, 27016 and 9700 all matter — the blob-sync port (9700) carries world data. If it's closed, players can hit odd sync issues even after connecting.

  • Back up the save folder

    Your world lives in the save directory. Back it up before updates or config changes so a bad edit never costs you the world.

  • A modern core keeps it smooth

    SOTF isn't huge, but a modern high-clock CPU and a few GB of RAM keep an 8-player world crisp, especially in busy base areas.

  • Protect the IP

    A public server is a DDoS target. Self-hosting exposes your home IP; a server in a protected datacentre puts a clean, filtered IP in front.

Common problems & fixes

Friends can't find the server

Open UDP 27016 (query) and 9700 (blob sync), not just 8766. See our fix for Sons of the Forest not showing for the full checklist.

The server won't start

Re-validate the install with SteamCMD, and on Linux confirm Proton/Wine is set up. Read the console output for the exact error.

The world resets or won't load

A corrupted or moved save. Restore from a backup of the save folder and don't edit configs while the server is running.

Players lag in bases

Busy base areas are CPU-heavy. Give the server a stronger high-clock CPU, or cap MaxPlayers a little lower.

Frequently asked questions

How do I make a Sons of the Forest server?

Install the dedicated server (Steam app 2465200) with SteamCMD, set ServerName, MaxPlayers, Password and difficulty in dedicatedserver.cfg, and start it with StartSOTFDedicated. Open UDP 8766 (game), UDP 27016 (query) and UDP 9700 (blob sync), then share the IP with your friends.

Do I need to own Sons of the Forest to host a server?

No. The dedicated server (Steam app 2465200) is a free, anonymous download, separate from the game. You only need the game on the machines that play.

What ports does a Sons of the Forest server use?

UDP 8766 for the game, UDP 27016 for the query that lists it, and UDP 9700 for blob (world data) sync. Forward all three at home, or allow them in your VDS firewall.

Where do I configure the server?

Everything is in dedicatedserver.cfg — server name, max players, password, difficulty and the ports. Edit it, then launch with StartSOTFDedicated.bat.

Why can't my friends find the server?

Usually the query port (27016) isn't open, or the blob-sync port (9700) is closed. Forward all three ports — see our fix for Sons of the Forest not showing.

How much hardware does it need?

Modest — a modern high-clock CPU and a few GB of RAM comfortably run an 8-player world. It's far lighter than large-scale games like ARK or Squad.

Does a dedicated server keep my world when I log off?

Yes — that's the point. The world stays saved and online 24/7 so friends can keep playing, and your progress carries between sessions.

Fixes for when it goes wrong

Knowledge-base fixes that pair with this guide — the errors people hit after setup.

More guides

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.