There are only a few real causes behind a Minecraft can't connect to server error, and working through them in order clears most of them fast. Start with whether the server is online, then the address and port, then version compatibility, then your firewall or router, and finally whether you're on the right edition for that server.
Server offline or full
Before checking anything on your end, confirm the server is actually running and has room. A server that is down or restarting refuses every connection, and a full server rejects new players even though it is technically online.
- Check the server's own status page, Discord, or announcement channel for outage notices
- For a server you host yourself, check the console window or hosting panel to confirm the process hasn't crashed
- Wait a few minutes and try again if the server is mid restart or applying an update
Wrong IP address or port
A mistyped address is the single most common reason a connection fails. Copy the server address instead of retyping it, and if the server doesn't use the default port, add it after the address with a colon, for example play.example.com:25566. Bedrock Edition's server list always needs the IP address and the port entered as two separate fields, since Bedrock servers rarely run on Java's default port.
- Drop any http:// or https:// prefix; server addresses don't use one
- Remove extra spaces before or after the address
- Check the port matches what the server actually announced, not just the default 25565
Version mismatch between your client and the server
Java Edition needs your client version to match the server's version exactly, or at least be close, unless the server runs a protocol translation plugin such as ViaVersion. Without one, a client on a newer or older major version than the server is rejected immediately, and the game usually reports it as an outdated or incompatible client rather than a normal connection failure.
ViaVersion only bridges the network protocol, not new game content, so blocks or items added after the server's own version still won't behave correctly for a newer client. If the server hasn't installed a compatibility plugin, the fix has to happen on your side, so change your Minecraft version to match what the server runs.
Firewall or router blocking a self-hosted server
This cause only applies if you're running the server yourself, not joining someone else's. A firewall, antivirus, or a router that hasn't forwarded the right port lets the server start locally while blocking every connection from outside. A rented or hosted server doesn't have this problem, since the host already handles the networking.
- 1.Forward the server's port, TCP 25565 by default, to the computer running it in your router's settings
- 2.Allow the server process through Windows Firewall or macOS's firewall if a security prompt blocked it
- 3.Use an online port-checking tool to confirm the port is actually open before asking anyone to join
Your friend can't connect even though the server works for you
When you can join your own server locally but a friend can't, the address is the usual culprit. A local network address such as 192.168.x.x only works for devices on the same Wi-Fi, so a friend joining from outside your house needs your public address, or a domain pointing at it, plus the forwarded port from the previous section. If they still can't join, check whether they're on a different Minecraft edition. A Bedrock player can't join a Java-only server on their own, no matter how correct the address is.
Bedrock and Java can't join each other's servers without a bridge
Java Edition and Bedrock Edition run on different network protocols, so a Bedrock client cannot connect directly to a Java server, and a Java client cannot connect directly to a Bedrock server. Java runs on Windows, macOS, and Linux; Bedrock covers mobile, console, and the Windows Bedrock app, and normally neither edition can see the other's servers at all. A Java server can let Bedrock players in by running Geyser, which translates the Bedrock protocol so both editions can join the same world. Ask the server owner which edition the server was actually built for before assuming your own client is broken. See Java vs Bedrock for what else differs between the two.
Realms connection problems
Realms failures are usually an account or subscription issue rather than a network one, since Realms handles the hosting for you. Sign out and back into your Microsoft or Xbox account, confirm the Realm owner's subscription is still active, and check whether Xbox Live services are having an outage before assuming your own setup is at fault. A Realm you were previously invited to also stops working the moment the owner cancels the subscription or removes you, and that isn't something the invited player can fix from their side.
Frequently asked questions
Why does Minecraft say it can't connect to the server?
It almost always means the server is offline or full, the address or port was typed wrong, your client version doesn't match the server's, or, for a self-hosted server, a firewall or router is blocking the connection. Work through those causes in order, since the first two account for most failures.
Why can't my friend connect to my Minecraft server?
The most common reason is that you shared your local network address instead of your public one; a 192.168.x.x address only works on your own Wi-Fi. Also confirm you've forwarded the server's port on your router and that your friend is on the same Minecraft edition as the server, since Java and Bedrock can't join each other without a bridge like Geyser.
Why can't I join any Minecraft servers, even ones that work for others?
That points at something on your own device or network rather than any one server. Check that a local firewall or antivirus isn't blocking Minecraft, restart your router, confirm your internet connection is stable, and make sure your game client and, for Java Edition, your Java runtime are up to date.
How do I fix Minecraft server connection problems for good?
Work through the causes in order: confirm the server is online and not full, double check the address and port, match your client version or wait for the server to add a compatibility plugin, forward the right port if you host the server yourself, and confirm you and the server are on the same edition. Most connection failures resolve at one of those steps.
Does Minecraft Realms have separate connection issues?
Yes. Realms handles hosting, so failures there are usually a Microsoft or Xbox account issue, an expired subscription, or an Xbox Live outage rather than anything wrong with your network. Signing out and back into your account resolves most Realms connection problems.


