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 serverIt 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.
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
- You gave them the right public IP and port.
- The port is forwarded (or the server is hosted).
- The firewall allows Java.
- Everyone is on the same version.
- Online-mode matches everyone's account type.
- The whitelist is off, or your friend is added.
- 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.
Minecraft is a trademark of Mojang Synergies AB / Microsoft. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by Mojang or Microsoft.
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.
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.
Go deeper on this
Guides and explainers that pair with this fix — from our guides and blog.
How to Make a Minecraft Server
Set up a Java server from scratch — version, server.properties, EULA and going live.
ReadSettings to Reduce Minecraft Lag
View distance, Paper tuning and pre-generation for a smooth 20 TPS.
ReadBest Free Minecraft Plugins
EssentialsX, LuckPerms, WorldGuard and CoreProtect — the essentials.
ReadBest Minecraft Modpacks to Host
The best packs to run, and the RAM each one needs.
ReadRelated articles
Fix Minecraft "java.lang.OutOfMemoryError: Java heap space"
Server crashing with "OutOfMemoryError: Java heap space"? Every cause and how to fix it for good.
Read fix MinecraftHow to Allocate More RAM to a Minecraft Server
Give your Minecraft server more RAM — the -Xmx/-Xms flags, doing it in a panel, and how much to allocate.
Read fix MinecraftHow to Whitelist a Minecraft Server (Add & Remove Players)
Make your server private — enable the whitelist, add and remove players, and the commands that actually work.
Read fix