Posted on 30 March 2025 · Updated on 18 November 2026

How to Host a Vintage Story Server (2026): Windows, Linux and Hosting Guide

by Lou P.

Last updated: November 18, 2026. Checked against Vintage Story 1.22.7.

Vintage Story is a deep survival sandbox, and it plays best with friends in a shared world. This guide shows you how to host a Vintage Story server yourself on Windows or Linux: what hardware you need, how to install and configure the dedicated server, how to open port 42420, and how to manage players, mods and backups. If you would rather skip the setup and keep the world online around the clock, Host Havoc's Vintage Story server hosting is covered at the end.

Three Ways to Host a Vintage Story Server

  1. Open to LAN / Open to Internet (quickest). Start a single-player world, click Open to LAN, then Open to Internet. The game tries to open a route through your router with UPnP. The official self-hosting page warns this works roughly half the time, and the world is only online while you are playing.
  2. Dedicated server on your own PC or VPS. A separate server program that runs without the game client. This is what most of this guide covers.
  3. Managed Vintage Story server hosting. A provider runs the hardware, ports and uptime for you. See the managed option at the end of this guide.

Vintage Story Server Requirements

The official self-hosting page and the dedicated server guide on the wiki recommend:

ComponentRecommendation
RAM1 GB base + about 300 MB per player
CPU4 threads, about 1 GHz base plus extra clock speed per player
OSWindows or Linux (64-bit)
Runtime.NET 10 for Vintage Story 1.22 and later (.NET 8 for 1.21)
NetworkPort 42420 open on TCP and UDP

As a rough guide, that works out to around 2.5 GB of RAM for 5 players and 4 GB for 10. Heavy modpacks and large explored worlds need more, so leave headroom. The server and every player must run the same game version.

Open Port 42420 (TCP and UDP)

Vintage Story uses port 42420. Open it for TCP, and since version 1.20 also for UDP.

  • Router: forward 42420 TCP and UDP to the local IP of the machine running the server. The steps depend on your router model.
  • UPnP: if your router supports it, type /serverconfig upnp 1 in the server console to let the server try to open the port itself. If it fails, fall back to manual port forwarding.
  • Firewall: allow the server through the operating system firewall (steps for Windows and Linux are below).

Only share your public IP with people you trust. Unless you pay your ISP for a static IP, it may change from time to time.

How to Host a Vintage Story Server on Windows

  1. Download the server. Log in to your account on vintagestory.at and get the current Windows download. The server program is VintagestoryServer.exe.
  2. Pick a separate data folder. Create a shortcut or batch file that launches the server with its own data path so server files do not mix with your game files, for example:
    "C:\Games\Vintagestory\VintagestoryServer.exe" --dataPath="C:\Users\YourUsername\AppData\Roaming\VintagestoryServer\VSserverData"
    
  3. Allow it through Windows Defender Firewall. Add an inbound program rule that allows VintagestoryServer.exe.
  4. Forward port 42420 (TCP and UDP) on your router, or try UPnP as described above.
  5. Start the server. Run your shortcut or batch file. When you see a line like Dedicated Server now running on Port 42420 and all ips!, it is ready.

How to Host a Vintage Story Server on Linux

The official Linux setup uses the server.sh script that ships with the server archive.

  1. Install the prerequisites. On Debian or Ubuntu:
    sudo apt update && sudo apt install procps screen
    
    Then install the .NET 10 runtime for your distribution (required for 1.22 and later).
  2. Create a dedicated user. Do not run the server as root.
    sudo useradd vintagestory -m
    sudo su -l vintagestory
    
  3. Download and extract the server. Copy the "Linux tar.gz Archive (server only)" link from your account's download page, download it, then extract it:
    mkdir server && tar -C server -xzf vs_server_linux-x64_*.*.*.tar.gz
    chmod +x server/server.sh
    
  4. Edit server/server.sh and set:
    USERNAME=vintagestory
    VSPATH=/home/vintagestory/server
    DATAPATH=/home/vintagestory/data
    
  5. Open the firewall. With ufw:
    sudo ufw allow 42420/tcp
    sudo ufw allow 42420/udp
    
    With firewalld, add 42420/tcp and 42420/udp with firewall-cmd --permanent --zone=public --add-port=..., then run sudo firewall-cmd --reload.
  6. Start the server.
    server/server.sh start
    
    The script runs the server in a screen session called vintagestory_server. To reach the console, run sudo -u vintagestory screen -r vintagestory_server and detach again with Ctrl+A, then D.

If the Linux server crashes from running out of memory, the self-hosting page suggests raising the map count limit with sudo sysctl -w vm.max_map_count=262144.

Configure serverconfig.json

The server creates serverconfig.json in its data folder on first launch:

  • Windows: inside the folder you passed to --dataPath, for example ...\VintagestoryServer\VSserverData\serverconfig.json
  • Linux: /home/vintagestory/data/serverconfig.json

Stop the server before editing the file, and restart it afterwards for changes to apply. The fields most people change:

FieldWhat it does
ServerNameName shown in the public server list
PortListening port (default 42420)
MaxClientsMaximum number of players online at once
PasswordJoin password (null for none)
WhitelistModeWhether only whitelisted players can join (on by default for dedicated servers)
AdvertiseServerLists the server under "Browse public servers" (off by default since 1.20)
UpnpLets the server try UPnP port forwarding
DefaultRoleCodeRole for new players: suplayer (normal survival) or suvisitor (look and chat only)
MaxChunkRadiusHighest view distance a player may use
ModPathsFolders the server loads mods from
WorldConfig > WorldName, Seed, PlayStyleName, seed and playstyle preset for a newly created world
WorldConfig > SaveFileLocationThe world file loaded at startup

Many settings can also be changed live from the console, for example /serverconfig maxclients 10 or /serverconfig password yourpassword (no spaces).

Whitelist, Admins and Roles

Dedicated servers have the whitelist on by default, so add yourself and your friends first. Type these in the server console (on Linux, wrap them with server/server.sh command "..."):

  • /player PlayerName whitelist on adds a player to the whitelist.
  • /op PlayerName makes a player an admin (it is short for /player PlayerName role admin).
  • /player PlayerName role suplayer sets a player back to the normal survival role.
  • /serverconfig WhitelistMode off opens the server to anyone who knows the address (and password, if set).

Adding Mods to Your Vintage Story Server

Put mod .zip files in the server's Mods folder inside the data path, or install them from the console with /moddb install modid, then restart. When players join, server-side and universal mods download to their client automatically, so friends do not need to hunt for files. Client-only mods are optional and are added by each player.

For picks, see our list of the best Vintage Story mods, and for step-by-step install help read how to install mods on a Vintage Story server.

Backing Up Your World

  • Run /genbackup in the console to make a full copy of the current save in the server's backups folder. It works while the server is running, and you can add a filename if you want one.
  • For a manual copy, run /autosavenow, then /stop, and copy the Saves folder from the data path somewhere safe.
  • Always take a backup before updating to a new game version or adding a large mod.

Connecting to Your Server

In Vintage Story, open Multiplayer, choose Add new server, and enter the host's public IP. Players on the same network use the local IP instead. You usually do not need to add the port unless you changed it from 42420. Fill in the password field only if the server has one.

Vintage Story Server Hosting: The Managed Option

Self-hosting is free, but the world is only online while your PC is on, it shares your home upload bandwidth, and you handle updates, ports and backups yourself. Host Havoc's Vintage Story server hosting gets you a server with instant setup that stays online when you log off, so you can spend your time playing instead of maintaining it. It is backed by a 72-hour money-back guarantee.

FAQ

How much RAM does a Vintage Story server need?

The official recommendation is 1 GB plus about 300 MB per player. Add more for large modpacks or big, well-explored worlds.

What port does a Vintage Story server use?

Port 42420. Open it on TCP, and on UDP as well for version 1.20 and later.

Can I host a Vintage Story server for free?

Yes. The dedicated server is included with your game account, and you can run it on your own PC or use Open to Internet from a single-player world. The trade-offs are uptime, bandwidth and the setup work.

Why can't my friends join my server?

Check that port 42420 is forwarded for TCP and UDP, that the firewall allows the server, that they are on the whitelist, and that everyone runs the same game version as the server.

Do my friends need to install the server's mods?

No. Server-side and universal mods download automatically when they join. Only optional client-side mods need to be installed by hand.

Which .NET version does the Vintage Story server need?

Vintage Story 1.22 and later runs on .NET 10. Version 1.21 used .NET 8.