MinecraftServers100

Minecraft server ports: Java, Bedrock, Query and RCON

Updated 2026-11-26

A Minecraft server listens on a network port. Java and Bedrock use different ports and protocols, and opening the wrong one is the most common reason nobody can join.

Default ports

  • Java Edition: TCP 25565.
  • Bedrock Edition: UDP 19132 (and UDP 19133 for IPv6).
  • Query (Java, optional): UDP, same port as the server by default.
  • RCON (Java, optional): TCP 25575.

These are defaults. Shared hosts often give each server its own port.

Changing the port

Stop the server, open server.properties and set server-port (Java) or server-port / server-portv6 (Bedrock Dedicated Server). Save and start the server again.

Java players then type the port after a colon: play.example.net:25566. Bedrock has a separate port field when you add a server.

Port forwarding at home

  1. Give the server computer a fixed local IP (a DHCP reservation in your router).
  2. Open the port forwarding page in your router.
  3. Forward the public port to that local IP and port, with the right protocol: TCP for Java, UDP for Bedrock.
  4. Allow the same port in the computer's firewall.
  5. Test from another connection with the server status checker.

If your router has no public IPv4 address, you are probably behind carrier-grade NAT and port forwarding won't work. Ask your ISP for a public IP or use a host.

SRV records: a domain without a port

For Java, an SRV record lets players type play.example.net while the server runs on another port:

  • Name: _minecraft._tcp.play.example.net
  • Priority 0, weight 0, port 25566
  • Target: node.example.net (must have an A record pointing to the server)

An SRV record doesn't replace port forwarding, and Bedrock clients don't use it.

Query and RCON

Query answers status requests over UDP; turn it on with enable-query=true and query.port. Normal server lists, including ours, don't need it.

RCON runs console commands remotely and is not encrypted. Leave it off unless you need it, use a long password, and never expose it to the whole internet.

Port working? List your server for free.