Repository navigation
Hosting a Server
Run a Cross-Com server for your group: from the launcher in one click, as a server program on a Windows PC, or on a Linux machine or VPS.
You don't need a server to play: the community test network is open to everyone. A server of your own gives your group its own accounts, stats, leaderboards and news, and keeps playing however the community network changes.
Matches are hosted by the players' games, as they always were. The server signs players in, keeps their profiles and stats, runs matchmaking, friends, squads and challenges, and introduces players to each other so their games can connect. So a server needs very little: any PC or small VPS will do, and the matches don't go through it.
A server uses:
| Port | Protocol | What for |
|---|---|---|
| 80 (or another, see below) | TCP | The game's online config, and the server's API (sign-in, sign-up, logs, the overlay's reads) over HTTP or HTTPS |
| 21030 | UDP | The game's sign-in |
| 21031 | UDP | Everything else: profiles, matchmaking, friends, squads |
The players' own games use UDP 2346 between each other; each player's client asks their own router to forward it.
| From the launcher | Windows dedicated server | Linux and Docker | |
|---|---|---|---|
| Best for | Playing with friends tonight | A PC that's always on, hosting for a group | A VPS or home server, a public community |
| Setup | One click: Host › Start server | Download one program, write a settings file | Docker Compose, or one program |
| Runs | While the launcher is open | Whenever you start it (or at boot) | Always |
| Router | Asked automatically (UPnP, PCP, NAT-PMP) | You forward the ports | You forward the ports, or a VPS needs none |
| HTTPS | Its own certificate, shared in a join code | Its own certificate (join codes), or a domain with Caddy | A domain with Caddy, or its own certificate |
| Accounts | Friends make their own with the join code | Your choice: open sign-up, a sign-up code, or made by you | Your choice |
| You can play on it too | Yes: Play on my server | Yes, from the same PC or another | Yes |
Not sure? Start with Hosting from the Launcher. It sets up everything a server needs on a home connection, checks that friends can reach it, and gives you the codes to send them.
| Your friends are… | What it takes |
|---|---|
| On your network (the same house, a LAN party) | Nothing: the server answers them at its address on your network. |
| On a VPN with you (Tailscale, ZeroTier, Radmin VPN) | Nothing: the server answers them at its address on the VPN. Good when your router can't forward ports. |
| Anywhere on the internet | Your router has to forward the server's ports to your PC, and your connection needs a public address (not a carrier-grade NAT). The launcher does the forwarding for you when your router allows it; Port Forwarding and Routers covers doing it by hand, and what to do when it can't work. |
A VPS (a rented server with its own public address) is reachable from anywhere with no router at all.
-
A server hosted from the launcher, or with its own certificate: friends paste a join code into their launcher. It looks like
203.0.113.24:8080#5c1e0b7f…: the server's address and port, and its certificate's fingerprint, so their launcher talks to your server and no other. -
A server with a domain and HTTPS (Caddy): friends enter the domain, such as
play.example.org. -
A server on your network or VPN without HTTPS: friends enter its address, such as
192.168.1.20.
In the launcher, that's the first setup's Another server, or later Settings › Server › Another server, then Check.
- You're the host of your group's data: their accounts, stats and the logs their games send after each match. Tell them what's kept (see the hosting docs on players' logs), and keep backups if your group cares about its stats.
- Anyone who can reach a server with open sign-up can make an account on it. A join code isn't a password. For a server you leave running, use a sign-up code.
- Something not working? Server Troubleshooting.
- Hosting from the Launcher: the Host screen, step by step.
- Join Codes: what they are, sharing them, and joining with one.
- Port Forwarding and Routers: UPnP, forwarding by hand, carrier-grade NAT, VPNs.
- Windows Dedicated Server: the server program on its own, on Windows.
- Linux and Docker Server: Docker Compose, HTTPS with Caddy, a VPS.
-
Server Settings: every setting in
crosscom-server.toml. - Server Troubleshooting: what goes wrong, and how to fix it.
Cross-Com Enhanced · a fan project, not affiliated with or endorsed by Ubisoft · Releases · Issues · Something wrong on this page? Open an issue.
Playing
- Getting Started
- The Launcher
- Launcher Settings
- Your Account and Identity
- Your Connection
- The In-Game Overlay
- DLC Packs
Hosting a server
- Hosting a Server
- Hosting from the Launcher
- Join Codes
- Port Forwarding and Routers
- Windows Dedicated Server
- Linux and Docker Server
- Server Settings
- Server Troubleshooting
Help
Links