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:
play.example.comNo 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
Create a network in the MineGuard panel
Add a domain
Set up CNAME
Type: CNAME
Name: play
Value: <address from panel>.ipv4.mineguard.pro
TTL: 300After the DNS propagates (usually 5–15 minutes), players will be able to connect using play.example.com with no port.
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.
Why hide the port
play.example.comis easier to remember and type thanplay.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.