Minecraft Doesn't See a Friend on LAN: What to Check
The situation is familiar: you opened a world to LAN, your friend hit "Join Server," and the list is empty. Minecraft doesn't see a friend on the local network for a handful of typical reasons — from different subnets to a plain firewall block. Below is a step-by-step breakdown: what to check first, what second, and how to work around it when the network won't cooperate.
One clarification up front: "LAN" in Minecraft isn't just your home Wi-Fi. The game finds neighbors via broadcast packets, and if the router or the OS filters them, discovery fails. Direct IP connection often works even where auto-discovery is broken.
Why Minecraft Doesn't See a Friend on LAN: Basic Causes
The list is short, and it's almost always one of these.
- Devices are on different subnets. One is on the guest Wi-Fi, the other on the main one. The router hands them different ranges, and broadcasts don't cross between them.
- Windows Firewall or antivirus blocks Java and incoming connections on port 25565.
- Different game versions or different modpacks. A 1.21.1 client won't see a 1.20.1 world, and a modded build won't let a vanilla client in.
- The world is open to LAN, but the guest hit the wrong button — not "Direct Connect," just refreshed the list.
- The network is marked "Public" in Windows settings — discovery is off by default in that profile.
Check in order: network first, then the OS, then the game. That way you won't be flipping settings at random.
Step 1: Make Sure the Devices Are Really on the Same Network
Open a command prompt on both computers and run ipconfig. Look at the IP address: it must be in the same subnet. For example, 192.168.1.15 and 192.168.1.42 are one network, while 192.168.1.15 and 192.168.0.42 are already different ones.
- Make sure both devices connect to the same router, not to different access points with client isolation.
- Turn off the guest network — client isolation is on by default there, and devices can't see each other.
- Check that VPN is off on either computer. It changes the route and breaks LAN discovery.
- One computer on Wi-Fi and the other on cable is fine, as long as the router doesn't split them into different VLANs.
A simple test: ping your friend's address with ping 192.168.1.42 (use their actual IP). If packets don't go through, the game isn't the issue — fix the network.
Step 2: Firewall and Network Profile
Windows allows Java only on private networks by default. If the system treats your home network as public, discovery fails, and Minecraft doesn't see a friend on the local network.
- Open Settings → Network & Internet → Status → Properties of your connection.
- Switch the profile from "Public" to "Private."
- Go to Windows Defender Firewall → "Allow an app through firewall."
- Find Java (javaw.exe) in the list and tick both private and public networks.
- If you use third-party antivirus, add javaw.exe to its firewall exceptions.
Restart the game on both computers after the changes. The LAN world list refreshes when you open the menu, but reopening it is more reliable.
Step 3: Versions and Mods
The most common non-obvious cause. A world opened in 1.21.1 won't show up for a friend on 1.20.1 — and vice versa. Same with mods: the mod set must match, or the client either won't see the world or won't be able to join.
- Check the version in the main menu — it's shown in the corner.
- Check the mod list: same names and same versions.
- If you play through a launcher, it's easier to install the same build — download the FoxyGame launcher and launch the same modpack in one click.
- For a clean screen without extra UI elements, there's download Broken Script - No Bar Lines: a clean screen without bars in Minecraft — it supports 1.21.1 and 1.20.1 and has been downloaded 22983 times. Install it on both machines if you want the same look.
Step 4: Direct Connection by IP
If auto-discovery fails, bypass it. The host finds their IP via ipconfig, and the guest enters the address manually.
- The host opens the world: "Open to LAN," optionally enabling cheats.
- The chat shows a line like "Local game hosted on 192.168.1.15:25565" — that's the address.
- The guest goes to "Multiplayer" → "Direct Connect" and enters the IP with the port.
- If the connection works, the problem was discovery, not the network.
The default port is 25565. If the host specified a different one, the guest must enter that exact port.
If Nothing Helped
Two workable options remain. First, set up a real server: then the connection goes by IP and port, without broadcast packets. A list of ready-made hosts is in the Minecraft servers section, where you can pick one matching your version and modpack. Second, a tunnel like Hamachi or Radmin VPN: they create a virtual local network, and Minecraft sees the devices as if they were behind the same router.
One more note: if you play through Horizon — Minecraft rewritten in Rust, installed via the FoxyGame launcher — the official server play.playhorizon.dev is the easier route for multiplayer. Local mode exists there too, but a dedicated server saves you the firewall and subnet hassle.
Frequently Asked Questions
Why doesn't my friend see my world even though we're on the same Wi-Fi?
Most likely you're on different subnets or client isolation is enabled on the router. Check your IPs via ipconfig: the first three numbers must match. If they don't, reconnect one of the devices to the same network.
Minecraft doesn't see a friend on LAN — is it because of the game version?
Yes, that's one of the common causes. A 1.21.1 client won't see a 1.20.1 world. Check the versions in the main menu and bring them to the same one.
Which port is used for LAN play?
25565 by default. The host sees the exact address with the port in chat after opening the world to LAN.
Can you play on LAN over the internet?
Not directly — LAN works within a single router. Playing over the internet requires a server or a virtual network like Radmin VPN.
Will disabling the firewall help?
As diagnostics, yes; as a permanent fix, no. The right move is to add Java to the exceptions and switch the network profile to "Private."