Home

SelfServr Guide

Colony Survival Dedicated Server Setup

How to get a Colony Survival dedicated server running on your own machine, from downloading the server files to starting it up.

Before you start, check Can My PC Run a Colony Survival Server? to see whether your hardware meets Colony Survival's requirements, and read the port forwarding guide if you want players outside your home network to connect.

1. Get the server files

Colony Survival's dedicated server is distributed through Valve's SteamCMD tool, under Steam app ID 748090. If you don't have SteamCMD installed yet, follow our SteamCMD installation guide first.

From a SteamCMD prompt (or as command-line arguments), run:

force_install_dir "C:\GameServers\ColonySurvival"
login anonymous
app_update 748090 validate
quit

A handful of dedicated-server tools require a Steam account that owns the base game instead of an anonymous login. If login anonymous is rejected, replace it with login <your-steam-username> and enter your password when prompted.

2. Required ports

Forward these ports to the server machine's local IP address on your router, and allow them through the server's firewall. See the port forwarding guide for how.

ProtocolPortPurposeRequired
TCP27005Default game portYes
UDP27005Default game portYes

3. Start the server

Windows

colonyserver.exe -batchmode -nographics +server.world "Dedicated" +server.networktype SteamOnline +server.name "My Server"

Linux

./colonyserver.x86_64 -batchmode -nographics +server.world "Dedicated" +server.networktype SteamOnline +server.name "My Server"

Run this from the install directory.

4. Save it as a script (optional, but recommended)

Saving the commands above as scripts means starting and updating the server is a single double-click instead of retyping them, and it's what lets Task Scheduler or systemd start the server for you -- see keeping it running 24/7.

Start script

Windows -- start-server.bat

@echo off
cd /d "%~dp0"
colonyserver.exe -batchmode -nographics +server.world "Dedicated" +server.networktype SteamOnline +server.name "My Server"

Linux -- start-server.sh

#!/bin/bash
cd "$(dirname "$0")" || exit 1
./colonyserver.x86_64 -batchmode -nographics +server.world "Dedicated" +server.networktype SteamOnline +server.name "My Server"

Make it executable once with chmod +x start-server.sh.

Save either script in the same folder as the server executable -- %~dp0 (Windows) and $(dirname "$0") (Linux) both mean "wherever this script itself lives", so it works regardless of the exact path you installed to.

Update script

Adjust the SteamCMD path below if yours isn't at C:\steamcmd:

Windows -- update-server.bat

@echo off
C:\steamcmd\steamcmd.exe +force_install_dir "C:\GameServers\ColonySurvival" +login anonymous +app_update 748090 validate +quit

Linux -- update-server.sh

#!/bin/bash
steamcmd +force_install_dir "/home/steam/GameServers/ColonySurvival" +login anonymous +app_update 748090 validate +quit

Adjust the install path above to wherever you actually want the server on your Linux machine -- it's shown as an example, not a requirement.

5. Generate a config file

Use the Colony Survival config generator to fill in server name, password, max players and more, and download a ready-to-use server.config.json.

Open the Colony Survival config generator →

Keep it running

Once your Colony Survival server is working, see our guide on keeping it running 24/7 so it survives a reboot or crash without you needing to start it by hand.

Frequently asked questions

How do I install a Colony Survival dedicated server?

Download it with SteamCMD using Steam app ID 748090, then run it from the install directory. See "Get the server files" and "Start the server" above for the exact commands.

What port does a Colony Survival server use?

TCP 27005, UDP 27005 by default, forwarded to the server machine's local IP address. See the port forwarding guide for how.

How do I configure a Colony Survival server?

Use the Colony Survival config generator to fill in server name, password, max players and more, and download a ready-to-use server.config.json.

How do I keep a Colony Survival server running?

Set it up as a Windows Task Scheduler task or a Linux systemd service so it survives a reboot or crash without you starting it by hand -- see the keeping it running 24/7 guide.

Players still can't connect?

If the server starts fine but friends can't reach it, see the connection troubleshooting guide -- it covers CGNAT, firewall issues, port forwarding mistakes and more, and includes an interactive diagnostic.