Hosting guide

Host through Steam, or run a dedicated server.

Steam hosting runs your world from your own PC, and friends join through Steam. A dedicated server runs on a VPS or an always-on PC, and players connect to its address and port.

The short version

Steam hosting needs no router setup

Steam hosting needs Steam running and signed in. Players who join can see your internet address (IP), so only host for people you trust. A dedicated server works the same way: players connect to its address and port.

Recommended for friends

Steam hosting

HOST // 01

Start a Steam world

  1. Leave Vault 111 and reach the open world. Invites only work from there.
  2. Open Friends (Steam) in the server browser.
  3. Check Listed server name and Max players under Server settings. Friends see them.
  4. Optionally enter a Server password.
  5. Click Start Hosting. The lobby shows your Friend Code.
  6. Click Copy, or Invite Steam friends.
  7. When your friends are ready, click Enter world. Friends connected counts who has joined.

Stop Hosting ends the lobby. By default only your Steam friends can join, so add people as friends first or in the Launcher's Server settings turn off Steam friends only and set a password.

PLAYER // 02

Join a Steam world

  1. Open Friends (Steam) in the server browser.
  2. Under Join, paste the host's Friend Code, or part of their Steam name.
  3. Enter the password if the host set one.
  4. Click Join.

Leave the code empty to join a friend who is already hosting. Their world appears in the host list with its own Join button.

Dedicated servers

Join with Direct Connect

Use Direct Connect to join a dedicated server by its address. Open the Direct Connect tab in the server browser. Server Address starts at 127.0.0.1 and Port at 7777. Enter the host's IP or domain, its port, and the password if it has one, then click Connect. You can also paste host:port or [IPv6]:port into the address field.

Commonwealth Online server browser showing the Direct Connect screen
Server browser → Direct Connect // address, port, password, Connect.

Always-on server

Run a dedicated server

HOST // 03

Start it from the Launcher

  1. Open the Launcher and go to the Server page.
  2. Choose the DEDICATED tab. Steam P2P is the other tab.
  3. Read the warning. A dedicated server is meant for a VPS or a PC that is always on.
  4. In Settings, set the game port. It defaults to 7777.
  5. Start the server and give players your address and port.
PLAYER // 04

Connect to it

  1. Open the server browser and go to Direct Connect.
  2. Enter the server's IP or domain as Server Address.
  3. Enter the port the host gave you, then the password if there is one.
  4. Click Connect.

Servers on your own network also appear in the Friends (Steam) tab, under the LAN list.

Network

Ports for a dedicated server

GAME // UDP

Game port: 7777

Players connect on UDP 7777 by default. Forward it on your router and allow it through the firewall to let players in from outside your network.

LAN // UDP

LAN discovery: 7778

LAN discovery uses UDP 7778 so the server shows up for players on the same network. You can change the port or turn LAN discovery off in the server settings.

Keep the admin port closed The admin port listens on TCP 127.0.0.1:7779 only. Do not forward it.

Signal repair

Quick troubleshooting

Invite Steam friends does nothing

Invites only work in the open world. Leave Vault 111, then invite again.

"This host only lets their Steam friends join."

Add the player as a Steam friend. Or, in the Launcher's Server settings, turn off Steam friends only and set a server password so anyone with the password can join.

The Friend Code is rejected

Use the code from the host's lobby, or part of their Steam name. A Friend Code is a number from the host's Steam profile.

Locked out after wrong passwords

After five wrong passwords, that Steam account is locked out for five minutes. Wait, then try again with the right password.

The server directory is unavailable

Join with Direct Connect instead, using the server's address and port.

LAN servers don't appear

Both PCs must be on the same network. The host must have LAN discovery on, and UDP 7778 must be allowed through its firewall.