Home
How to Play Minecraft on LAN for Java and Bedrock Edition Players
Setting up a Local Area Network (LAN) game in Minecraft is one of the most effective ways to enjoy a multiplayer experience without the need for a dedicated server or a high-speed internet connection. Whether playing in a shared apartment, a dorm room, or a family home, LAN play utilizes the local router to transmit data between devices, resulting in near-zero latency and a seamless cooperative survival experience.
Success in setting up a LAN session requires attention to specific version requirements and network configurations that differ significantly between the Java and Bedrock editions of the game.
Fundamental Prerequisites for LAN Multiplayer
Before initiating a game, several technical conditions must be satisfied to ensure the devices can "see" each other on the network.
Unified Network Connection
All participating devices must be connected to the same local router. This can be achieved through Wi-Fi or Ethernet cables. If one player is on a 2.4GHz Wi-Fi band and another is on a 5GHz band, the router must support inter-band communication. Crucially, "Guest" Wi-Fi networks often feature Access Point (AP) Isolation, which prevents devices from communicating with one another; ensure all players are connected to a standard home network profile.
Edition and Version Synchronization
Minecraft exists in two primary codebases: Java Edition (PC) and Bedrock Edition (Consoles, Mobile, and Windows 10/11). These editions cannot cross-play over LAN. A Java Edition host can only be joined by Java Edition players. Furthermore, the game version must match exactly. For instance, a host running version 1.21.1 will be invisible to a client running version 1.20.4.
Software Integrity
All players must use a legitimate copy of the game. While offline mode exists, the authentication handshake during LAN discovery is most reliable when accounts are properly signed into the Minecraft Launcher or the respective platform store (Xbox, PlayStation, or Nintendo eShop).
Step-by-Step Guide for Minecraft: Java Edition
Java Edition LAN play is initiated from within a single-player world. The hosting computer acts as a temporary server, and the game ends for everyone when the host exits the world.
How to Host the World
- Launch the Game: Open the Minecraft Launcher and start the desired version of the game.
- Enter Single Player: Load an existing world or create a new one.
- Access the Menu: Once the world has loaded, press the Esc key to bring up the Game Menu.
- Open to LAN: Click the button labeled Open to LAN.
- Configure Settings: Select the default Game Mode (Survival, Creative, etc.) for joining players and decide whether to allow cheats. These settings only apply to the guests, not the host.
- Start LAN World: Click Start LAN World. A message will appear in the bottom-left chat area stating: Local game hosted on port [XXXXX]. Note this five-digit port number; it is vital if automatic discovery fails.
How to Join the World
- Open Multiplayer: On the guest computer, launch the identical version of Minecraft and click Multiplayer from the main menu.
- Scan for Games: Minecraft will automatically begin scanning the local network for active games.
- Locate the Entry: Scroll to the bottom of the server list. Under the header LAN World, the host’s name and world name should appear.
- Connect: Select the world and click Join Server.
Step-by-Step Guide for Minecraft: Bedrock Edition
Bedrock Edition (also known as "Minecraft for Windows," "Minecraft for Console," or "Minecraft for Mobile") handles LAN play through the Friends tab. Unlike Java, Bedrock requires the multiplayer toggle to be enabled before entering the world.
How to Host the World
- Navigate to Play: From the main menu, click Play.
- Edit World Settings: Locate the world intended for play and click the Pencil (Edit) icon next to it.
- Enable Multiplayer: On the left sidebar, select the Multiplayer tab. Ensure that both Multiplayer Game and Visible to LAN Players are toggled ON.
- Launch: Go back to the Play tab and start the world.
How to Join the World
- Enter Play Menu: On the guest device, click Play.
- Switch to Friends Tab: Click the Friends tab at the top of the screen.
- Find LAN Games: Any active LAN worlds on the same network will appear under the LAN Games sub-heading.
- Join: Tap or click the world to join the session.
Manual Connection Strategies (Direct Connect)
Sometimes, network security settings prevent Minecraft from broadcasting its presence, causing the "Scanning for games on your local network" message to hang indefinitely. In these cases, a manual connection via the host's IP address is the most reliable workaround.
Finding the Host’s IPv4 Address on Windows
- Press the Windows Key + R, type
cmd, and press Enter. - In the black command prompt window, type
ipconfigand press Enter. - Look for the line that says IPv4 Address (typically something like 192.168.1.XX).
- Provide this number to the joining players.
Finding the Host’s Local IP on macOS
- Open System Settings (or System Preferences).
- Navigate to Network.
- Select the active connection (Wi-Fi or Ethernet) and click Details. The IP address will be listed there.
Using Direct Connection in Java Edition
If the world doesn't appear automatically:
- The guest clicks Direct Connection in the Multiplayer menu.
- Type the host’s IPv4 address, followed by a colon, and then the port number provided when the host clicked "Start LAN World" (e.g.,
192.168.1.15:54321). - Click Join Server.
Troubleshooting Common Connection Failures
LAN issues are rarely caused by the game itself and are usually a result of operating system security or network hardware configurations.
Windows Defender Firewall Interruption
When launching Minecraft for the first time, Windows usually asks for permission to communicate on the network. If the user clicked "Cancel" or only allowed "Private networks" while their network profile was set to "Public," the LAN connection will be blocked.
- The Fix: Go to Control Panel > System and Security > Windows Defender Firewall > Allow an app or feature through Windows Defender Firewall. Find "javaw.exe" or "Minecraft" and ensure both "Private" and "Public" boxes are checked.
The "Public" vs "Private" Network Profile
Windows treats "Public" networks (like those in coffee shops) with higher security, disabling local discovery. Even if at home, your PC might be set to a Public profile.
- The Fix: Go to Settings > Network & Internet > Status > Properties. Change the Network Profile to Private.
Router AP Isolation and Guest Networks
Many modern routers feature "AP Isolation" or "Client Isolation." This setting allows devices to access the internet but prevents them from communicating with other devices on the same Wi-Fi. This is standard on Guest Wi-Fi networks.
- The Fix: Log into the router's administrator panel and disable AP Isolation, or ensure all players are on the primary Wi-Fi SSID.
Anti-Virus Interference
Third-party antivirus software (such as Norton, McAfee, or Bitdefender) often has its own firewall that overrides Windows settings.
- The Fix: Temporarily disable the third-party firewall to test the connection. If it works, add an exception for Minecraft within the antivirus settings.
Enhancing the LAN Experience with Mods
While vanilla Minecraft is excellent, many players utilize mods like Fabric or Forge. When playing on LAN with mods, the requirements become even stricter.
- Identical Mod Folders: Every player must have the exact same mods installed. Even a version mismatch in a small utility mod can cause a "Registry Mismatch" error.
- Config Synchronization: Some mods require the configuration files (
.tomlor.jsonfiles) to be identical across all clients to prevent desync. - Host Performance: Running a modded LAN world is taxing on the host's CPU and RAM. It is recommended that the player with the most powerful PC acts as the host. Assign at least 4GB–6GB of RAM to the Minecraft profile in the launcher settings to handle the extra load.
Frequently Asked Questions (FAQ)
Why can't I see my friend's LAN world in the list?
This is usually due to the Windows Firewall blocking the "UDP Multicast" packets the game uses for discovery. Try the Direct Connection method using the host's IP and port number. If that fails, check if both devices are on the same Wi-Fi SSID.
Can I play LAN between a PC (Java) and a Tablet (Bedrock)?
No. Java Edition and Bedrock Edition use different networking protocols and game engines. To play between a PC and a tablet, the PC user must install and run the Bedrock Edition (Minecraft for Windows).
Do we need an internet connection for LAN?
Technically, no. If you are already logged into your accounts and the launcher is in "Offline Mode," you can play over a local router without an active internet signal. However, Bedrock Edition often requires a one-time internet check to verify licenses and skins.
How many players can join a LAN world?
For Java Edition, the limit is typically determined by the host computer's hardware, though the default is usually 8. In Bedrock Edition, the default is 8, but this can be increased up to 30 using the /setmaxplayers command if cheats are enabled.
Can I play LAN with someone who is not in my house?
By default, LAN only works for those connected to the same physical router. To play with someone remotely as if they were on your LAN, you would need to use a Virtual Private Network (VPN) tool like Tailscale or Hamachi to create a virtual local network.
Summary of LAN Setup
Setting up a Minecraft LAN world is a straightforward process once the network environment is correctly configured. For Java Edition, the host opens the world to LAN from the pause menu and guests join via the Multiplayer screen. For Bedrock Edition, the multiplayer settings must be enabled in the world options before starting, and guests join via the Friends tab.
The most common hurdles involve firewall restrictions and IP discovery. By ensuring that all devices are on a Private network profile and allowing Java/Minecraft through the firewall, most connection issues can be resolved. For those seeking the most stable connection, using the Direct Connect method with the host’s IPv4 address and the generated port number remains the gold standard for local multiplayer.
-
Topic: Play Minecraft: Java Edition on a Local Area Network (LAN) | Minecraft Helphttps://help.minecraft.net/hc/pt-br/articles/4410317081741
-
Topic: Play Minecraft: Bedrock Edition on a Local Area Network (LAN) | Minecraft Helphttps://help.minecraft.net/hc/en-us/articles/35697355112717-Play-Minecraft-Bedrock-Edition-local-multiplayer
-
Topic: How to Make a Multiplayer Minecraft World in Java Editionhttps://blog.curseforge.com/how-to-make-a-multiplayer-minecraft-world-in-java-edition/