Skip to content
Minecraft

Why Can't My Friends Join My Minecraft Server? (Every Fix)

Can't connect to serverConnection timed outio.netty.channel.ConnectTimeoutExceptionFailed to connect to the server
7 min read Updated 20 July 2026 ESAGAMES Team

It is the most common Minecraft server problem: it works for you, but your friends get "Can't connect". Almost always it is the address you gave them, a closed port, or a version or whitelist mismatch. Here is every cause, in the order to check them.

Works for you but not for them?

If the server works on your own PC but not for friends, the problem is how outside players reach it: the IP, the port or the firewall. A hosted server skips all of this — you just share the address from your panel.

First: are you sharing the right address?

You must give friends your public IP and port — not the 127.0.0.1 or 192.168.x.x address you see locally. Find your public IP by searching "what is my IP". If the server uses a non-default port, they must type it as IP:PORT. On a hosted server, use the exact address and port shown in your panel.

Cause 1: the port is not forwarded (home servers)

If you run the server on your own PC, your router blocks incoming connections by default — you have to port forward Minecraft's port to your PC:

  • Forward TCP port 25565 (or your custom port) to your PC's local IP.
  • Some ISPs use CGNAT, which makes port forwarding impossible — a hosted server or a tunnel is then the only option.
  • This is the single most common reason friends cannot join a home server.

Hosted servers already have the port open, so there is nothing to forward.

Cause 2: a firewall is blocking it

Windows Firewall or your antivirus can stop Java from accepting connections. Allow Java through the firewall, or on Linux open the port (for example with UFW).

Cause 3: version mismatch

A 1.21 client cannot join a 1.20 server. Everyone must run the same Minecraft version as the server. This shows as "Outdated client" or "Outdated server" — see that fix.

Cause 4: online-mode / account mismatch

By default a server is in online-mode and only allows genuine, logged-in accounts. A friend on a cracked/offline client is rejected. Keep online-mode on for security; if you deliberately run a cracked server, everyone must use offline mode. Related: failed to verify username.

Cause 5: the whitelist is on

If the whitelist is enabled, only listed players can join and everyone else is kicked. Add your friends with /whitelist add Name or turn it off — see how to whitelist a server.

Cause 6: Java vs Bedrock

Java and Bedrock players cannot join each other by default. A Bedrock player cannot connect to a Java server unless you run a bridge like Geyser and Floodgate. Make sure everyone is on the same edition.

The quick checklist

  1. You gave them the right public IP and port.
  2. The port is forwarded (or the server is hosted).
  3. The firewall allows Java.
  4. Everyone is on the same version.
  5. Online-mode matches everyone's account type.
  6. The whitelist is off, or your friend is added.
  7. Everyone is on the same edition (Java or Bedrock).
Nine times out of ten it is the IP, the port or the version. A hosted server removes the first two entirely — you just hand out the address.

Skip the port-forwarding headache

A hosted Minecraft server has the port open and a shareable address from minute one — just send your friends the IP.

Minecraft hosting
FAQ

Frequently asked questions

Why can my friends not join my Minecraft server but I can?

Because you connect locally while they connect from outside. The usual causes are giving them your local IP instead of your public one, a port that is not forwarded on your router, or a firewall blocking Java. Hosted servers avoid all three.

What IP do I give my friends for my Minecraft server?

Your public IP (search "what is my IP"), plus the port if it is not the default 25565 — in the form IP:PORT. On a hosted server, use the exact address shown in your control panel.

Do I need to port forward for a Minecraft server?

Only if you host it on your own PC or console behind a home router. A server from a hosting provider already has its port open, so there is nothing to forward.

Why do my friends get "Outdated server" or "Outdated client"?

Their Minecraft version does not match the server's. Everyone must run the same version — switch clients or the server so they line up.

Can Bedrock players join my Java server?

Not by default — Java and Bedrock are separate. You can bridge them with Geyser and Floodgate on the server; otherwise everyone must be on the same edition.

Further reading

Go deeper on this

Guides and explainers that pair with this fix — from our guides and blog.

Knowledge base

Related articles

Skip the troubleshooting

Managed, protected hosting in Frankfurt — we handle the Linux, the network and the DDoS so you don't have to.

Payments Secure checkout with cards, banking apps and digital wallets.

Choose the payment flow that fits your stack and region without leaving the platform.

Pay by Zen Visa Mastercard Paysafecard PaysafeCash Skrill Trustly Bancontact UnionPay iDeal WebMoney