MineFixTools server utility lab
Hosting 2 min read Updated

Minecraft Port 25565 Explained

Understand Minecraft port 25565, when to change it, TCP vs UDP, port forwarding, firewalls, SRV records, and common server-port mistakes.

Port 25565 is the default Minecraft Java Edition server port. It is not magic, but it is the port most players and tools assume when no port is shown.

Where 25565 Appears

In server.properties:

server-port=25565
server-ip=

The port must match the network path:

| Layer | What should match | | --- | --- | | Minecraft server | server-port | | Host panel | Allocation or exposed port | | OS firewall | TCP allow rule | | Router | Port forward rule | | DNS/SRV | Target port if using custom port |

If one layer points to 25565 and another points to 25577, players will hit the wrong service.

TCP vs UDP

Normal Java Edition server traffic uses TCP. Bedrock uses UDP, and Geyser setups may require a UDP port for Bedrock players.

Do not open random port ranges

Open only the ports you need. A typical Java server does not need every port exposed to the internet.

When to Change the Port

Change the port when:

  1. Your host assigns a different allocation.
  2. Multiple servers run on the same machine.
  3. A proxy listens publicly and backends use private ports.
  4. You are avoiding a conflict with another service.

Use how to change Minecraft server port for the full checklist.

Custom Port and Domains

If your server uses a custom port, players can type:

play.example.com:25577

Or you can hide the port with an SRV record. See how to create an SRV record for Minecraft.

Troubleshooting 25565

If players cannot join on 25565, check reachability with how to check if port 25565 is open, then continue with the broader can't connect guide.

FAQ

Is 25565 required for Minecraft?

No. It is the default Java Edition server port. You can use another port if the server, firewall, and DNS/SRV records all match.

Is Minecraft Java TCP or UDP?

A normal Java Edition server uses TCP for the server port. Bedrock and some Geyser setups involve UDP separately.

Do players need to type the port?

Players do not need to type the port if you use 25565 or configure a correct SRV record for a custom port.

Related Tools

Related Articles