DocumentationСтатьиHow to Hide Server Port

How to Hide Server Port

Connect to Minecraft server without specifying a port via MineGuard

When connecting to a Minecraft server, players usually have to type an address like play.example.com:25565 or even a non-standard port. This is inconvenient, looks unprofessional, and often leads to input errors. MineGuard lets you remove the port from the connection address entirely.

Java Edition — free port 25565

For Java Edition, MineGuard provides the standard port 25565 on all plans, including the free tier. This means that after connecting a domain, players just type the domain:

Connection address
play.example.com

No port required. The Minecraft client connects to port 25565 by default, and MineGuard assigns it automatically when you create a network.

How to set up

1

Create a network in the MineGuard panel

Enter the IP and port of your actual server (backend). The backend port can be anything — MineGuard will accept connections on 25565 regardless.
2

Add a domain

Attach a domain to the network and complete verification via a TXT record.
3

Set up CNAME

Point your domain (or subdomain) to the MineGuard address via a CNAME record.
DNS record example
Type:  CNAME
Name:  play
Value: <address from panel>.ipv4.mineguard.pro
TTL:   300

After the DNS propagates (usually 5–15 minutes), players will be able to connect using play.example.com with no port.

Detailed DNS setup instructions are in the DNS Setup guide.

What about SRV records?

SRV records for hiding the port are no longer necessary. MineGuard assigns port 25565 to every network, so a regular CNAME record is all you need. SRV records are supported but not required.

Bedrock Edition

For Bedrock Edition, the situation is different. Bedrock uses the UDP protocol, and separate tunnels are used for proxying. The standard Bedrock port is 19132.

Bedrock tunnels are available starting from the Starter plan. On the Professional plan, up to 5 tunnels are available. When creating a tunnel, MineGuard assigns a dedicated UDP port for Bedrock player connections.

The Bedrock client lets players specify a port when adding a server, so a non-standard port is not a problem for players. Port 19132 is assigned automatically when slots are available.

Why hide the port

  • play.example.com is easier to remember and type than play.example.com:25912
  • Looks professional — major servers never show a port in their address
  • Fewer connection errors — players often forget or mistype the port
  • The real backend port is hidden from the outside world — an extra layer of security

Summary

Java Edition: port 25565 is provided for free on all plans. No extra configuration needed — just connect your domain via CNAME and players connect without a port.

Bedrock Edition: requires the Starter plan or higher. A UDP tunnel is created in the Bedrock Tunnels section of your network settings.