TCP and UDP ports
TCP vs UDP explained, the common ports for games and web services, and how to check what's open.
1 min read
On this page
TCP vs UDP#
| TCP | UDP | |
|---|---|---|
| Connection | Established first, reliable, ordered | Connectionless, no delivery guarantee |
| Used by | Web, SSH, Minecraft Java, databases | Minecraft Bedrock, many games, voice, DNS |
| Pros | Nothing lost | Lower overhead and latency |
Because they're separate protocols, the same port number can be used by TCP and UDP at once by different programs. Some services need both on one port: Geyser's NetherNet uses TCP for signaling and UDP for gameplay, which is why it now needs its own port separate from Java (Bedrock port configuration).
Common ports#
| Port | Protocol | Service |
|---|---|---|
| 22 | TCP | SSH |
| 80 / 443 | TCP | HTTP / HTTPS |
| 21 | TCP | FTP / FTPS |
| 3306 | TCP | MySQL |
| 25565 | TCP | Minecraft Java (default) |
| 19132 | TCP + UDP | Minecraft Bedrock / Geyser NetherNet (default; older Bedrock setups used UDP only) |
| 2083 | TCP | cPanel (SSL) |
On LordCloud game servers your ports come from the panel's Network tab, so they often differ from these defaults.
See what's listening (VPS)#
bash
sudo ss -tulpnCheck from outside#
bash
nc -vz YOUR_SERVER_IP 443 # TCP
nc -vzu YOUR_SERVER_IP 19132 # UDP (results are less reliable — UDP has no handshake)Was this page helpful?
