Minecraft Ports – Complete Overview

Default Ports

Port Protocol Use
25565 TCP Java Edition (default)
19132 UDP Bedrock Edition / Geyser
25575 TCP RCON (Remote Console)
8123 TCP Dynmap (web map)

What is an SRV Record?

An SRV record allows players to connect without specifying a port. Instead of server.de:25566, server.de is enough.

_minecraft._tcp.server.de. 86400 IN SRV 0 5 25566 node1.server.de.

At game-serverhosting.de, SRV records are created automatically. You do not need to configure anything.

Geyser + Floodgate Ports

If you want cross-play between Java and Bedrock, you need Geyser:

  • Java players: Connect via port 25565 (or custom)
  • Bedrock players: Connect via port 19132 (UDP)

With us, Geyser is automatically installed and configured. Both ports are assigned automatically.

Port Forwarding (Home Hosting)

If you host a server at home, you need to open ports in your router:

  1. Open router admin (usually 192.168.1.1)
  2. Add port forwarding / NAT
  3. Forward port 25565 TCP to your PC's local IP
  4. For Bedrock: forward port 19132 UDP

Tip: With a rented server, this is completely unnecessary – all ports are automatically open.

Firewall Configuration

On Linux servers with ufw:

sudo ufw allow 25565/tcp   # Java
sudo ufw allow 19132/udp   # Bedrock
sudo ufw allow 25575/tcp   # RCON (only if required)

Common Port Problems

  • "Can't connect": Port not open or wrong IP
  • "Connection refused": Server is not running or wrong port
  • Bedrock does not work: UDP port forgotten or Geyser not installed