The WAN port is where the router connects toward the ISP. LAN ports face your computers, consoles, and access points. Swapping those cables leaves you offline.
WAN means wide area network: the path out of the house. LAN means local area network: the path among your own devices. The plastic jacks can look identical. The labels, and what you plug in, are the whole difference. A speed test never starts if the router has no path to the provider, or if your computer was plugged into the jack that expected the provider.
Which cable goes in which jack
The modem or ONT cable goes in the WAN port. That is the cable from the box that speaks your provider's network: a cable modem, a DSL modem, or the fiber box on the wall. Your devices do not use that jack. They use LAN ports, or they use Wi-Fi.
A typical separate router has one WAN port and several LAN ports. The WAN port is often labeled WAN or Internet. The LAN ports are often labeled LAN, or numbered, and they are the ones for a PC, a console, a TV, or an access point. If a jack is unlabeled, follow the manual for that model rather than guessing from color. Color is not a standard.
Nintendo's wired-connection steps say to use a LAN port on the router, not the Internet/WAN port. That instruction is about a console, and the same split applies to anything else you own. The console is a device in the house. It belongs on the LAN side. The cable that comes from the modem belongs on the WAN side.
Plug a PC into the WAN port and the router has nothing useful on its LAN side from that computer, and the WAN side is talking to a PC instead of the provider. The usual result is no connection, not a slower connection. Move the cable to a LAN port, put the modem cable back in WAN, and the network can come up. Then a speed test means something.
The modem, the router, and a single box
A modem and a router do different jobs. The modem or ONT reaches the provider. The router shares that connection and is the box with the WAN and LAN ports described here. When the provider gives you one gateway, both jobs live in one plastic shell. You may not see a separate WAN cable, because the "modem half" meets the "router half" inside the case. The LAN ports on that gateway are still the ports for your devices. The coax, phone, or fiber input is the provider side, even if it is not an Ethernet WAN jack.
Adding your own router later means choosing which box faces the provider. The cable from the gateway's LAN side, or from the ONT, goes into the new router's WAN port. Your computers move to the new router's LAN ports. If you leave the gateway routing as well, you have two routers in a row. That is a different problem from a swapped cable, and it is not required to understand which jack is WAN. Get the one cable from the provider's box into the WAN port of the router you intend to use, and keep devices on LAN.
Types of internet connection explains why the provider side might be coax, phone wire, or fiber before it ever becomes an Ethernet cable. The WAN port is the Ethernet end of that handoff, on a router that expects an Ethernet feed. It is not the speed of the plan.
Port speed is a separate label
A WAN port can be a gigabit Ethernet port, and so can a LAN port. What a gigabit Ethernet port is is the 1,000 Mbps rating of the jack. 2.5 Gigabit Ethernet is a faster jack some newer routers put on WAN, on LAN, or on both. Those ratings limit how fast the cable can run. They do not decide whether the jack faces the ISP or faces you.
Read the label for the job, then read the spec for the rate. A gigabit LAN port is the right place for a console. A gigabit WAN port is the right place for the modem cable. Putting the console in the fast-looking WAN port because it is "the good one" takes the console offline. Putting the modem cable in a LAN port because the LAN ports are numbered and easy to reach does the same to the whole house.
The cable between them has to match the rate you care about. Cat5e, Cat6, and Cat6a is that choice. A damaged cable can link at a fraction of the port rating. That is a slow or unstable link, which is different from the silence you get when WAN and LAN are swapped. If lights on the port never come up, check the jack you chose before you replace the cable.
Offline is not a low speed test
When the WAN cable is in a LAN port, or a device is in the WAN port, you usually have nothing to test. The router has no route to the provider, or the device is on the wrong side of it. Fix the cables, confirm that a LAN device gets an address and can open a page, and only then run a speed test.
A test that runs and lands near the plan means the WAN path is up and the plan is what you see. A test that runs and lands far below the plan is a speed problem: Wi-Fi, the line, the time of day, or a port that negotiated a low link rate. A test that cannot start, on every device, is the wiring diagram. Start with WAN toward the ISP and LAN toward the devices you actually own.
Common questions
Why is there no internet when the PC is in the WAN port?
The WAN port faces the ISP. A computer is not the ISP, so it does not get a normal home connection there. Move the computer to a LAN port or to Wi-Fi.
Can the WAN jack and the LAN jacks be the same speed?
Yes. Speed and direction are different facts. A port can be gigabit, or faster, and still be the WAN port or a LAN port. Plugging the right cable into the right job is what gets you online.