Repository navigation
Port Forwarding and Routers
What your router has to do for friends on the internet to reach a server you host, how the launcher asks it, and what to do when it can't.
Note
This page is about hosting a server. For your own game's connection when you play (Open, Moderate, Strict), see Your Connection. Friends on your network, or on a VPN with you, need none of this.
To your PC (the one running the server), from the internet:
| Port outside | Protocol | To this PC's port | Notes |
|---|---|---|---|
| Any free port (80 if you can) | TCP | 80 | The server's web side: the game's online config, and HTTPS. The port outside goes in the join code, so it can be any. |
| 21030 | UDP | 21030 | The game's sign-in. Must be 21030 outside too. |
| 21031 | UDP | 21031 | The game's services. Must be 21031 outside too. |
The game's own port between players (UDP 2346) isn't the server's: every player's client asks their own router for it while they play.
With Anyone on the internet with a join code on the Host screen, the launcher asks your router to forward all three while the server runs, and to take them away when it stops. It tries, in turn:
- UPnP (Universal Plug and Play): most home routers have it, often under Advanced, NAT or UPnP.
- PCP (Port Control Protocol): some newer routers, and Apple's.
- NAT-PMP: older Apple AirPort routers, and some others.
Each forward is asked for an hour, and renewed every 20 minutes while the server runs, so nothing stays open long after you stop.
For the web port, it asks for 80 first, then 8080, then 28080, and takes the port your router gives. Many routers won't let UPnP forward a port under 1024 (80 among them), which is why the web port is often another. That's fine: the join code carries it.
After forwarding, the community server checks your server from outside (the From outside line), so you know your friends can reach it before they try.
Look in your router's settings page (often at 192.168.0.1, 192.168.1.1 or 10.0.0.1; the address and the login are usually on a sticker on the router):
| Router | Where it usually is |
|---|---|
| Netgear | Advanced › Advanced Setup › UPnP |
| TP-Link | Advanced › NAT Forwarding › UPnP |
| ASUS | WAN › Internet Connection › Enable UPnP |
| Linksys | Connectivity › Administration › UPnP |
| AVM FRITZ!Box | Home Network › Network › (the PC) › Permit independent port sharing for this device (per device), and Internet › Permit Access |
| Ubiquiti UniFi | Settings › Internet › (the WAN) › UPnP |
| ISP-supplied routers | Varies: search for your model and "UPnP" |
Menus change between models and firmware versions; your router's manual has the exact place.
When the launcher's forwards don't work (the lines are red, or From outside says Not reachable), add them yourself:
-
Give your PC a fixed address on your network. In the router, find DHCP reservation (or Address reservation, Static lease) and reserve your PC's current address for it. Otherwise it may change, and the forwards would point at nothing.
- Your PC's address: in Windows, Settings › Network & internet › (your connection) › Properties › IPv4 address; or the Friends on your network join code shows it.
-
Add three port forwards (often called Port forwarding, Virtual servers, NAT rules or Applications & gaming), each to your PC's address:
- TCP, outside port 8080 (or any free one; 80 if your router allows it) → inside port 80
- UDP, outside 21030 → inside 21030
- UDP, outside 21031 → inside 21031
- Start the server with Anyone on the internet. The launcher's own requests may then say the ports are taken (yours are there already); the From outside check is what matters.
-
Your join code: when the launcher's own Web port request fails, the Host screen shows no internet code, and its Internet line says No join code with your public address. Write the code yourself:
YOUR-PUBLIC-ADDRESS:8080#followed by the fingerprint (the part after#) of any code the Host screen shows. Then ask a friend to try it, as the community server's check needs the launcher's own forward.
Some internet providers share one public address between many customers. Your router then doesn't have a public address of its own, so nothing can be forwarded to you from the internet. Common with mobile and 4G/5G home internet, satellite, and some fibre and cable providers.
Signs: the launcher says Your internet provider or another router is in front of yours (carrier-grade NAT); or your router's status page shows an internet (WAN) address starting with 100.64. to 100.127., 10., 172.16. to 172.31. or 192.168.; or the From outside line says Another address.
What you can do:
- Use a VPN with your friends: Tailscale is free for small groups and needs no forwarding. Host with My network and VPN, and send them the Tailscale code.
- Ask your provider for a public IPv4 address. Many give one on request, sometimes for a small fee (ask for a "public IP" or to be taken off CGNAT).
- Rent a small VPS and run a Linux server there: it has a public address of its own.
An internet provider's router with your own router behind it: your router forwards to your PC, but the provider's router doesn't forward to yours. The launcher can usually only ask the router nearest you.
Fix: put the provider's router in bridge mode (or modem mode), so your own router has the public address; or forward the same ports on the provider's router to your router's address. Or use one of them only.
A VPN that sends all your traffic through it (a commercial privacy VPN) hides your PC behind the VPN's address: friends on the internet can't reach a server there. Turn it off while hosting, or use split tunnelling for the launcher and the server. Tailscale and ZeroTier don't do this by default.
The game and the server use IPv4. A connection that only has IPv6 to the internet (some providers' DS-Lite) works like CGNAT for hosting: use a VPN, or ask your provider for IPv4.
Separate from the router: Windows itself has to let the server in. The launcher adds the rules the first time you start (Windows asks permission once). The Windows Firewall line on the Host screen shows whether they're there.
Another firewall (Norton, McAfee, Bitdefender, ESET, Kaspersky…) has its own rules: allow %APPDATA%\Cross-Com\Server\crosscom-server.exe there, for incoming TCP and UDP.
- Hosting from the Launcher · Join Codes · Server Troubleshooting
- Your Connection: your game's own connection while you play.
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