Home / Port numbers / Port 25565
Port 25565: Minecraft (Java Edition)
Minecraft Java Edition servers. Port 25565 uses TCP.
- Port
- 25565
- Commonly used for
- Minecraft (Java Edition)
- Transport
- TCP
- Encrypted
- Yes, after sign-in
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Open it only if you need it, and secure the service first
- IANA registration
- Not assigned to any service
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 25565 is used for
Port 25565 is the default port of a Minecraft Java Edition server. If you host a world on your own computer for friends outside your home, this is the port you forward on your router to that computer. Players connecting to the default port do not need to type it.
Should port 25565 be open?
Forwarding it is how home hosting is meant to work, but it tells the internet a server is there, and scanners find new Minecraft servers quickly. Turn on the whitelist so only named players can join, keep the server software updated (the Log4Shell flaw of 2021 allowed complete takeover of unpatched servers), and remember that players can see your home IP address.
IANA, which keeps the official list of port numbers, has not assigned port 25565 to any service. The use described here is a convention that software makers have settled on.
Related ports
- Port 19132 (Minecraft (Bedrock Edition)): Minecraft Bedrock Edition servers
- Port 27015 (Steam and Source game servers): game servers for Counter-Strike, Team Fortress 2 and many Steam games
- Port 1900 (SSDP (UPnP discovery)): devices announcing themselves for UPnP
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 19132 (Minecraft (Bedrock Edition)) · Next: Port 27015 (Steam and Source game servers)