Skip to content

Join Codes

JDevWebb edited this page Nov 26, 2026 · 1 revision

A join code is how friends set their launcher up for a server you host: its address, its port, and its certificate's fingerprint, in one line to copy and paste.

203.0.113.24:8080#5c1e0b7f93a2d4c86e0f1b2a3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d5e6f7
└── address ─┘└port┘ └──────────── the certificate's fingerprint (SHA-256) ───────────┘

Why a code, not just an address

A server's launcher and the client talk to it over HTTPS: signing in, making accounts, the overlay, the logs. HTTPS normally needs a domain name and a certificate from a certificate authority. A server hosted at home has neither, so it makes its own certificate, the first time it starts.

No authority vouches for that certificate, so instead your friends' launchers are told exactly which one to expect: its fingerprint, in the code. Their launcher then talks to your server and no other, encrypted, and refuses anything in between that answers with another certificate. Nothing ever falls back to unencrypted HTTP for a server with a join code.

The port is your server's web port as the internet sees it. The game always asks for its online config on port 80, but many routers won't forward port 80; Cross-Com's client sends the game to the port in the code instead. Without a port, the code means port 80.

For the host: which code to send

The Host screen lists one for each way to reach your server:

Code Send it to Looks like
Friends on the internet Friends in other houses 203.0.113.24:8080#… (your public address and the port your router gave)
Friends on your network People on your network (the same house, a LAN party) 192.168.1.20#…
Friends on your VPN (Tailscale) Friends on the same Tailscale network as you 100.101.102.103#…

Copy puts it on the clipboard. The fingerprint is the same in all of them; only the address (and the port) differ.

When codes change:

  • Your public address changes: most home connections get a new one now and then, or when the router restarts. The internet code changes with it.
  • Your router gives another port for the web side.
  • The certificate is made anew: if https-certificate.der and https-key.der in %APPDATA%\Cross-Com\Server are deleted. Then every code changes, and friends who set up with an old one see that the server didn't answer over HTTPS until they paste the new one.

Restarting the server, or the launcher, doesn't change them.

Tip

If your public address changes often, a dynamic DNS name (free from many providers, and built into many routers) can stand in for the address: mygroup.example.net:8080#… works the same, as long as the name points at your current address.

A join code isn't a password. It doesn't stop anyone else reaching your server; it stops your friends' launchers being fooled into talking to someone else. Share it with the people you play with, not publicly. (A server you leave running for the public needs a sign-up code to keep accounts to your group.)

For friends: joining with a code

  1. In your launcher: on the first setup, choose Another server; or later, Settings › Server › Another server.
  2. Paste the whole code into the server's address, # and all.
  3. Press Check. The launcher asks the server, over HTTPS with that certificate. It answers with whether you already have an account there.
  4. If you don't, choose your name (and enter the server's sign-up code, if it asks for one), and press Set up (or Switch to this server).

Your launcher keeps the address and the fingerprint (the game's crosscom.toml holds them as server and server_certificate). After that, Play as usual: the game goes to your friend's server.

To go back to the community network, choose it in Settings › Server.

When a code doesn't work

What you see Most likely Fix
That join code isn't whole: copy it again from the host's launcher Part of the code was lost on the way (chat apps sometimes cut long lines, or the # and what follows were left out) Copy it again, whole. The part after # is 64 letters and digits.
… didn't answer over HTTPS (…). It may be down for now, or its host's join code may have changed. The server isn't running, your friend's address changed, or the code is for another network Ask the host whether the server's running, and for the code for how you reach them (internet, network or VPN).
… not the certificate the join code names The host's certificate changed, or something between you answered in its place Ask the host for their current code. If it's the same code, something on your network is intercepting connections: don't sign in there.
… actively refused it Nothing is listening there: the server's stopped, or the port isn't forwarded The host checks the Host screen's Reaching it.
The check works, but the game says it lost its connection The game's UDP ports (21030, 21031) aren't reaching the host The host checks Reaching it (both UDP lines green, From outside Reachable).

More in Troubleshooting and Server Troubleshooting.

Codes for a dedicated server

A Windows or Linux server can use its own certificate too, with https_port set to its http_port in its settings. Its fingerprint is in its log as it starts (HTTPS on the HTTP port 80 too, certificate …), or is the SHA-256 of its https-certificate.der. Its code is then ADDRESS[:PORT]#FINGERPRINT, with the address and port players reach it at.

Clone this wiki locally