How to fix code:net in Apex Legends
Apex Legends code:net means your connection to the game server was interrupted. Here's what causes it and the fixes that actually work, plus how to tell when it's EA's servers and not you.
What code:net means
code:net is Apex's generic network interruption error: the game lost its connection to the match or lobby server mid-session. It says nothing about whose fault it is — it fires the same way for a dropped home connection, a routing problem between you and the datacenter, or an EA-side outage.
Common causes
- EA/Respawn server problems or an outage in your region — during big outages, code:net reports spike for everyone at once
- Packet loss or jitter on the route between your ISP and the game datacenter
- Unstable Wi-Fi, a saturated home connection, or a flaky router that needs a restart
- VPNs, proxies, or aggressive firewall/QoS rules interfering with the game's UDP traffic
Fixes, in order
- 1
Check whether it's the servers first
If code:net appeared out of nowhere and you changed nothing, check server status before touching your own setup. When EA's services are degraded, no local fix will help — wait it out. A quick search for current Apex outage reports, or asking friends on the same region, settles it in a minute.
- 2
Restart your router and the game
The classic fix for a reason: it clears stale NAT sessions and forces a fresh route to the datacenter. Power the router off for 30 seconds, restart Apex fully (not just to the lobby), and rejoin.
- 3
Switch to a wired connection or stabilize Wi-Fi
code:net is frequently just packet loss. Ethernet removes the single most common source of it. If you must stay on Wi-Fi, move closer to the router and get other heavy traffic (streams, downloads, cloud backups) off the network while you play.
- 4
Pick a different datacenter
From the title screen, wait on the lobby and open the datacenter list (it appears at the bottom of the screen after a moment). If your usual datacenter shows abnormal ping or packet loss, manually pick the next-closest one — a bad route to one datacenter often leaves others fine.
- 5
Disable VPNs and check firewall rules
VPNs add hops and are regularly the whole problem. Turn the VPN off, make sure Apex and the EA app are allowed through your firewall, and if you use strict NAT, consider enabling UPnP or forwarding Apex's ports.
- 6
Flush DNS and renew your lease (PC)
In an admin command prompt: ipconfig /flushdns, then ipconfig /release and ipconfig /renew. Cheap to try and occasionally clears a poisoned resolver entry that keeps steering you to a dead route.
Frequently asked questions
What does code:net mean in Apex Legends?
It means the game lost its network connection to the server. It's a generic interruption error — the cause can be on your side, on the route in between, or on EA's servers.
Is code:net a ban?
No. code:net is purely a connection error and has nothing to do with account standing. Ban-related disconnects typically show different messaging.
Why do I keep getting code:net repeatedly?
Repeated code:net on every match usually means sustained packet loss — either your local network (fix: wired connection, router restart) or a bad route to one datacenter (fix: manually select a different datacenter). If it started suddenly for you and your squad at once, it's most likely an EA-side problem.