How to Open Port 25565 (Minecraft Server Guide)

Fix Minecraft port forwarding problems and let friends join your server.

Open Minecraft port 25565

You started a Minecraft server.

Everything works locally.

But when friends try connecting:

Connection timed out Unable to connect to server Server unreachable

The most common reason is simple:

Minecraft port 25565 is not reachable externally.

🎮 Check Minecraft Port 25565

Verify whether your Minecraft server is reachable from the internet.

Test Port 25565 →

What Is Port 25565?

Minecraft Java Edition uses TCP port 25565 by default.

Players connecting from outside your network need your router to forward traffic to the machine running Minecraft.

Without forwarding:

  • Local connections work
  • External players fail

Step 1 — Find Your Minecraft Server Internal IP

Windows:

ipconfig
Linux:

ip addr
Example:

192.168.1.120

Your Minecraft server machine should ideally keep a static local IP.

Step 2 — Open Router Port Forwarding

Open your router admin page.

Usually:

192.168.1.1

or

192.168.0.1

Locate:

  • Port Forwarding
  • Virtual Server
  • NAT Rules
Create:

External Port:
25565

Internal IP:
192.168.1.120

Internal Port:
25565

Protocol:
TCP
Save configuration. Restart router if required.

Step 3 — Allow Minecraft Through Firewall

Even with router forwarding configured correctly, local firewalls may still block traffic. Windows PowerShell:

New-NetFirewallRule `
-DisplayName "Minecraft Server" `
-Direction Inbound `
-Protocol TCP `
-LocalPort 25565 `
-Action Allow
Linux UFW:

sudo ufw allow 25565/tcp

Step 4 — Verify Minecraft Actually Runs

Minecraft must actively listen on 25565. Linux:

sudo ss -tulpn
Windows:

netstat -ano
Look for:

0.0.0.0:25565

Step 5 — Test Externally

Many people stop here.

Big mistake.

Forwarding may appear configured while external access still fails.

Verify externally:

Check Port 25565 →

Common Minecraft Port Errors

Friends Cannot Join But LAN Works

Possible causes:
  • Router forwarding missing
  • Firewall blocking
  • Wrong internal IP
  • CGNAT ISP limitation

Port Shows Open But Server Still Fails

Possible causes:
  • Minecraft crashed
  • Wrong server IP shared
  • NAT loopback confusion

Read:

Port Always Closed

Possible causes:
  • Firewall rules
  • ISP restrictions
  • CGNAT
  • Server not running

Read:

Minecraft Hosting Checklist

  • ✅ Minecraft server running
  • ✅ Router forwarding configured
  • ✅ Firewall open
  • ✅ Correct internal IP
  • ✅ External test completed

Final Thoughts

Minecraft networking problems usually come down to one thing:

Port 25565 is not truly reachable externally.

Verify every layer:

  • Router
  • Firewall
  • Server process
  • ISP limitations

And always validate externally.

🚀 Test Minecraft Port 25565

Verify whether players can actually reach your server.

Run Port Checker →