Repository navigation
Server Troubleshooting
What goes wrong when you host a server, and how to fix it: the Host screen's messages, friends who can't join, and dedicated servers.
Start here: on the Host screen, read Reaching it top to bottom. Each red or yellow line names what's wrong; this page says what to do. For a dedicated server, read the start of its log.
Contents: The server won't start · Reaching it shows a problem · Friends can't join · Friends get in, but can't play together · Your own game · Dedicated servers · Reading the server's log · Still stuck
The Host screen says a port it needs (TCP 80, UDP 21030 or 21031) is in use by another program; close it and start again. Another program on your PC is using one of them: often another web server, or a Cross-Com server you started yourself.
Find it: open PowerShell and run:
Get-NetTCPConnection -LocalPort 80 -State Listen | Select-Object OwningProcess, @{n='Program';e={(Get-Process -Id $_.OwningProcess).Path}}
Get-NetUDPEndpoint -LocalPort 21030,21031 | Select-Object LocalPort, OwningProcess, @{n='Program';e={(Get-Process -Id $_.OwningProcess).Path}}| What's there | What it is | Fix |
|---|---|---|
System (process 4) on port 80 |
Windows' own web server (HTTP.sys), used by IIS, World Wide Web Publishing Service, SQL Server Reporting Services, or some printer and media software | Stop that service (Services › World Wide Web Publishing Service › Stop, and set it to Manual), or uninstall what uses it. netsh http show servicestate lists who registered what. |
crosscom-server.exe |
A Cross-Com server already running: a dedicated one, or one left from an earlier launcher | Stop it (Task Manager), or use that one instead. |
| Skype (older versions), Apache, nginx, XAMPP, WAMP, Docker Desktop | A program using port 80 | Close it while you host, or change its port. |
The server started but its web side never answered: most often something else holds port 80 in a way Windows allowed (above), or a security program blocked it. The Server log at the bottom of the Host screen usually says which.
A launcher built from source without the server in it. The releases' crosscom-launcher.exe has it: download the latest.
The launcher couldn't write %APPDATA%\Cross-Com\Server\crosscom-server.exe, or Windows wouldn't run it. Usually antivirus: it quarantined the server. Restore it from quarantine and add the launcher's folder and %APPDATA%\Cross-Com\Server to its exclusions (Antivirus Warnings), then start again.
The rest of the message is the server's own reason, from its log. Read the Server log on the Host screen (or server.log in %APPDATA%\Cross-Com\Server), and report it if it isn't one of these.
Windows' permission prompt was declined (or closed). Players on other PCs can't reach the server. Stop server, Start server, and answer Yes. If the prompt doesn't come, another firewall program may be in charge: allow %APPDATA%\Cross-Com\Server\crosscom-server.exe there, for incoming TCP and UDP.
Your router didn't forward the port. The line says why:
| The line says | Means | Fix |
|---|---|---|
| Your router didn't answer UPnP, PCP or NAT-PMP | Your router has them turned off, or doesn't have them | Turn UPnP on, or forward the ports by hand. |
| Your internet provider or another router is in front of yours (carrier-grade NAT) | Your connection has no public address of its own | Nothing on your router can fix it: use a VPN, or ask your provider for a public address. |
| Your router didn't forward it: the router refused (UPnP error 606, Action not authorized) | UPnP is on, but not for this PC (FRITZ!Box: per-device permission) | Allow port sharing for this PC in the router, or forward by hand. |
| … (UPnP error 718, ConflictInMappingEntry) | The port is forwarded to another device already | Remove the other forward, or forward by hand. |
| Another reason | The router's own words | Forward by hand. |
Your router forwarded the UDP port, but on another number outside. The game needs 21030 and 21031 themselves. Forward them by hand, on the same numbers (how); another device's forward of the same port, or a router reserving it, may be in the way.
Your public address was found, but your router didn't forward the web port, so the launcher can't make an internet code. Forward a TCP port to this PC's port 80 by hand, then write the code as the line says: YOUR-ADDRESS:PORT# and the fingerprint from any of the other codes.
Your address on the internet couldn't be found: neither the router nor the community server said it. Check your internet connection. Friends on your network or VPN can still play.
The community server tried your server at your public address, as your friends would, and the ports it lists didn't answer.
- Windows Firewall line green? If not, fix that first.
- Another firewall on the PC (Norton, McAfee, Bitdefender, ESET…): allow the server there.
- Two routers (your provider's and yours)? The outer one has to forward too, or be in bridge mode (Double NAT).
- A VPN on this PC sending everything through it hides you: turn it off while hosting.
- Stop and start the server, to ask again.
The internet sees your PC at another address than your router reports: something between your router and the internet translates addresses (your provider's NAT, or another router). Friends on the internet can't reach you through your router's forwards. See carrier-grade NAT and double NAT.
The check couldn't run: The community server doesn't check hosted servers yet (it needs version 0.1.3 or later), it didn't answer, or it said why (too many checks from here; try again in a minute). Your server may well be reachable: ask a friend to try the code.
Ask your friend what their launcher says when they press Check with your code. Join Codes has the full table; the usual ones:
| Their launcher says | Fix |
|---|---|
| That join code isn't whole | Send the code again, whole: the part after # is 64 letters and digits. |
| … didn't answer over HTTPS (… refused …) or (… timed out …) | Your server isn't running, or isn't reachable on that address and port: check the Host screen (From outside). Did they get the right code (internet, network or VPN)? |
| … didn't answer over HTTPS (… not the certificate the join code names) | The code is from before your certificate changed (the Server folder was deleted or reset). Send your current code. |
| this server needs its sign-up code | Your server has a sign-up code (a dedicated server): give it to them. |
| that name is taken | Someone has that name on your server: they choose another. |
| the signature's time is off: check this PC's clock | Their PC's clock (or yours) is more than 5 minutes out. Settings › Time & language › Date & time › Sync now, on both PCs. |
| too many sign-ups; try again later or too many failed sign-ins; try again later | The server's limits: wait, then try once. |
Friends in your own house need the Friends on your network code: your internet code goes out to the internet and back, which most routers don't do.
The code worked yesterday but not today? Your public address (or the port your router gave) changed: send the new code from the Host screen. A dynamic DNS name avoids it (Join Codes).
The launcher's check worked (that's the web port), but the game's own ports (UDP 21030 and 21031) aren't reaching your server. Check both UDP lines on the Host screen, and From outside. Another firewall on your PC may allow TCP but not UDP.
Matches are hosted by a player's game, not by the server: this is the players' own connections, not your server's. Each player should check Your Connection (Open is best; Strict players can only join hosts anyone can reach). Turning on UPnP on the players' routers fixes most of it. The server's connection records show how joins went:
crosscom-server connections 7
Quick Match only offers lobbies a player's game can load: a lobby using a DLC pack is hidden from players without it (DLC Packs).
| What happens | Why, and the fix |
|---|---|
| Play says the server didn't answer | Your game plays on your own server, and it isn't running: start it on the Host screen first. To play elsewhere, choose the server in Settings › Server. |
| Your connection shows Forwarded while you host | As it should: your router forwards your game's port, but your server, inside your network, can't check it from outside. A friend joining is the test. |
| Your connection shows Moderate while you host | Your router didn't forward your game's port (the game's log says why: search crosscom.log for port forward). Friends behind strict routers can't join the matches you host. Turn on UPnP, or forward UDP 2346 to this PC by hand. |
| Friends find your lobby but can't join it | Your game's port isn't reachable from the internet: see the line above, and Windows Firewall on the Play screen (Game allowed). |
| Play on my server is greyed out | The server isn't running yet, or the game isn't set up (Play opens the setup). |
| In the log, or you see | Fix |
|---|---|
couldn't look up NAME |
public_address is a name that doesn't resolve: check the spelling and its DNS. |
signup_code is too short to keep strangers out: use at least 12 random characters |
Make the code longer (and random). |
https_port needs listen_ip to be all addresses (0.0.0.0) or this machine's |
Remove listen_ip, or set it to 0.0.0.0. |
… isn't valid: … |
A mistake in crosscom-server.toml: the message names the line. Quotes round text, none round numbers or true/false. |
stopped: … Permission denied on Linux (port 80) |
Allow the program the low port: sudo setcap cap_net_bind_service=+ep ./crosscom-server (or AmbientCapabilities=CAP_NET_BIND_SERVICE in its systemd unit). |
stopped: … os error 10048 / Address already in use
|
Another program has the port: find it. |
| Players connect but get each other's wrong addresses, or can't connect to each other, and the server runs in Docker Desktop (Windows or macOS) | Docker Desktop changes the addresses players seem to come from. Use the Windows server program, or Linux. |
| HTTPS with a domain: the launcher says didn't answer over HTTPS | Check Caddy's log (docker compose … logs caddy): the domain's A record must point at the server, and TCP 80 and 443 be open for Let's Encrypt. |
| The launcher says … reaches ANOTHER GAME, not a Future Soldier server | The address reaches another game's server on the same machine: set players up by this server's own domain (sharing a machine). |
-
Hosted from the launcher: the last lines are at the bottom of the Host screen; the whole run is
%APPDATA%\Cross-Com\Server\server.log. -
Windows dedicated: the window it runs in, or
server.logif you started it from Task Scheduler as described. -
Docker:
docker compose -f docker/compose.yaml logs -f. systemd:journalctl -u cross-com -f.
Useful lines: "NAME" signed in from ADDRESS (a player got in), ADDRESS signed up as NAME, sign-in … refused: … (why not), … game didn't answer at ADDRESS from outside (a player whose matches only some can join), Online config for ADDRESS (a game asked; a friend's game reached your server).
For more detail, set log_level = "debug" in the settings (not on a launcher-hosted server: it writes its own) and start it again.
Report a problem with: how you host (launcher, Windows dedicated, Linux/Docker), the Host screen's Reaching it lines (or a screenshot with your addresses hidden), the server's log, and what your friend's launcher or game said.
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