Top Minecraft Hosts

Minecraft Server Port Forwarding: 25565 Explained

Hosting at home? Your friends can't reach your server until your router knows where to send their connections. This guide shows how to port forward a Minecraft server on any router, test it, and fix what usually goes wrong.

written by
last checked

Quick picks

#HostFromBest for
1 GodLike Host See site All-rounder, Ryzen 9 9950X3D nodes, free trial
2 BisectHosting See site Most locations (21)
3 BloomHost $12.00/mo Published CPU tiers, dedicated cores
4 PebbleHost $1.00/mo Cheapest per GB

Step 1: find your PC’s local IP

On Windows run ipconfig and note the IPv4 address (for example 192.168.1.20). Set it as a static or reserved address in your router so it doesn’t change.

Step 2: open port 25565

  1. Open your router’s admin page (often 192.168.0.1 or 192.168.1.1).
  2. Find Port Forwarding (sometimes under NAT, Virtual Server or Gaming).
  3. Add a rule: TCP 25565 → your PC’s local IP, port 25565.
  4. Save and restart the router if asked.

Step 3: allow Java through the firewall

Windows Defender Firewall must allow Java (or the server) on private and public networks, or the forwarded traffic gets blocked.

Step 4: test it

Start the server, find your public IP (search “what is my IP”), and check port 25565 with an online port checker. Friends join with your public IP.

When minecraft server port forwarding doesn’t work

Problem Fix
Port shows closed Server not running, wrong local IP, or firewall
Works locally, not for friends ISP uses CGNAT; ask for a public IP or use a host
IP keeps changing Use a dynamic DNS service

If your ISP blocks it entirely, a host skips port forwarding minecraft server traffic altogether.

questions people ask me

What port does a Minecraft server use?

25565 over TCP for Java Edition. Bedrock uses 19132 over UDP.

Is port forwarding safe?

Opening one port to a game server is common, but it exposes your home IP to players. Keep the server updated, use a whitelist, and don't forward ports you don't need.

Do I need to port forward with a host?

No. Hosted servers are already reachable from the internet, which is the main reason many people use one.