Modern games rarely do without the ability to split screen or local connection, and Minecraft This is no exception. It often happens that you have one powerful computer or laptop, and a friend comes over with their laptop, and you want to explore the cube world together. The fastest and most stable way to do this is to use your home computer. local network (LAN) built on a single Wi-Fi router. This doesn't require setting up complex servers, purchasing hosting, or in-depth knowledge of network protocols.
The main condition for a successful start is that both devices must be in the same information space. This means that both your PC and your friend's device must be connected to same Wi-Fi routerIf you're using a wired connection for your main computer and your friend is connected wirelessly to the same router, this will also work, as the router combines all ports and antennas into a single network. However, if one device is sharing internet via 4G/5G mobile data and the other is using home Wi-Fi, a direct connection won't work without additional routing settings.
It's important to understand that when playing over a local network, the load falls on the host computer. CPU and RAM will handle world physics, mob behavior, and chunk generation for both players. Therefore, if the host machine has weak specs, you may experience lag or FPS drops for all participants in the session. It's also important to consider your bandwidth. Wi-Fi channel: If the router is old or located far away, the ping may increase, which will lead to lags when breaking blocks.
Preparing equipment and checking the game version
Before accessing in-game settings, ensure your devices are technically compatible. The most common mistake is trying to connect different game editions. There are two main types: Java Edition (classic PC version) and Bedrock Edition (cross-platform version for Windows 10/11, phones, and consoles). They are not natively compatible. If you have Java and your friend has a Bedrock phone, you won't see each other's worlds in the LAN list.
Make sure both devices are running the same version of the game. This is critical in Minecraft: a player running version 1.20.1 will not be able to join a server running version 1.20.4. The game usually updates automatically, but if you're using pirated builds or launchers with version selection, check the numbers manually. It's also recommended to disable third-party mods or resource packs before creating a world, as desyncing them can cause the game to crash for the connected player.
Check your network status in your operating system. Windows or another operating system should treat your current connection as a "Private" or "Home" network, not a "Public" one. When set to a public profile, the system blocks detection of other devices for security reasons, making it impossible to find a server on the LAN. This is a common issue that can be easily overlooked when all game settings have been checked.
- 🔌 Make sure both devices are connected to the same router (the network SSID must match).
- 📀 Check that the game versions (numbers after the title) are identical on all computers.
- 🛡️ Set the network profile to "Private" in Windows settings to allow discovery.
⚠️ Attention: If you're using an antivirus with a built-in firewall (such as Kaspersky or ESET), it may block incoming connections even if you allow them in Windows Firewall. While you're setting things up, try temporarily pausing network protection or adding the game to the exceptions list.
Creating a world and opening it to friends
The process of starting a local session begins with creating or loading a world on the computer that will act as the server (host). Launch Minecraft, select Singleplayer, and create a new world or open an existing one. Important: the world must be fully loaded and you must be inside the game space before opening access. Attempting to open the pause menu before chunks have loaded may result in an error.
While inside the world, press the key Escto open the pause menu. In the list of options, find the button Open to the web (Open to LAN). When you click it, the game will prompt you to configure settings for other players: game mode (survival, creative) and cheat usage. After selecting the settings, confirm the action by clicking "Open world to network." A system message will appear in the chat indicating that the server is running on a specific port, for example: Local game hosted on port 54321.
Remember or write down this port number. While modern versions of Minecraft usually find open worlds on your local network automatically, sometimes automatic detection fails. In this case, knowing the port will allow your friend to connect manually through the "Direct Connection" menu. The host computer must remain logged in for the entire session; if you exit to the main menu or close the game, your friend will immediately be disconnected.
The local game is hosted on port 25565.
Now let's move on to your friend's computer. They need to launch the same version of Minecraft and go to the "Multiplayer" section. If everything is configured correctly, after a few seconds, the host's world should appear in the server list, named "Player_Name's world" and the prefix "LAN." If the world isn't listed, but you're sure you've done everything correctly, you can try refreshing the list with the Refresh button or using a direct connection.
☑️ Checklist before launching the server
Manual connection via IP address
Sometimes the automatic search in the "Network Game" list doesn't display the created world. This may be due to issues with network drivers or router settings. In this case, the most reliable method is a direct connection via IP address. To do this, the host needs to know its local IP address on the network. This isn't your external IP (the one seen by websites), but the internal address assigned to your computer by the router, usually 192.168.xx.
To find out the IP, click Win + R, enter cmd and press Enter. In the black command prompt window, type the command ipconfig and find the line "IPv4 address." Write down these numbers. Now your friend should select "Direct Connect" in the game menu and enter the address in the format IP_address:PortFor example, if your IP is 192.168.1.55, and the game port is 25565, you need to enter: 192.168.1.55:25565.
| Parameter | Where to find | Example of meaning |
|---|---|---|
| Local IP (Host) | Team ipconfig in CMD |
192.168.0.15 |
| Server port | Minecraft chat after opening LAN | 54321 |
| Input format | Direct Connection Menu | 192.168.0.15:54321 |
| Network status | Windows Network and Sharing Center | Private network |
If you get a "Connection refused" error when entering an address, this almost always means the port is blocked by Windows Firewall. By default, the security system considers incoming connections from Java applications suspicious. You should go to your firewall settings and ensure that Java(TM) Platform SE binary or javaw.exe The box for permission to run private networks is checked.
⚠️ Attention: Router and operating system interfaces are subject to update. If the default menu paths differ from those described, look for sections labeled "Network," "Share," "Firewall," or "Local Play." The actual names of these options are subject to change by software developers.
What to do if the IP address is dynamic?
The local IP address assigned by your router may change after rebooting your computer or router. If you plan to play regularly, it makes sense to lock the IP address in your router settings (DHCP Reservation) or simply check the new address using ipconfig before each game.
Setting up a firewall and network permissions
Windows Firewall is the first line of defense, and it's the one that most often interferes with local connections. When you first launch Minecraft and try to share a world online, the system should display a pop-up window asking for permission. If you accidentally click "Cancel" or forget to check the "Private Networks" box, access will be blocked. You can fix this manually through the Control Panel.
Open Control Panel → Windows Defender Firewall → Allow an app... Find it in the list Java(TM) Platform SE binaryMake sure both the "Private" and "Public" network checkboxes are checked. If there are multiple Java entries (for example, different versions), allow access for everyone. Sometimes deleting old Java entries from the list and restarting the game to create new rules helps.
Also, check your router's settings. Some modern routers have a feature called "AP Isolation." When enabled, devices connected via Wi-Fi are prevented from communicating with each other—they can only access the internet. This feature is designed for hotels and cafes, but at home it's just a nuisance. Log into your router's web interface (usually 192.168.0.1) and make sure client isolation is enabled. disabled.
- 🔥 Check your Java firewall's inbound rules.
- 📶 Make sure that Client Isolation is disabled on your router.
- 🔄 Reinstall Java if the game executable is not in the permissions list.
Solving common connection problems and errors
Even with proper settings, specific errors may still occur. One of the most common is "Outdated server" or "Outdated client." This means the game versions don't match. Check if any of the players have automatic updates enabled, which could have updated the game mid-session, or if you're using different launchers with different builds.
Another common issue is poor performance (lag, choppy graphics). Since the host computer is processing the world for two players, the load on it doubles. If you have a weak Wi-Fi signal, data packets may be lost. Try reducing the Render Distance in the graphics settings to 8-10 chunks. Disabling V-sync and lowering particle quality also helps.
If a friend sees your server listed but immediately gets an "Internal Exception: java.io.IOException" error when connecting, try changing the port. In some cases, antivirus software blocks a specific port but allows others. When a world is opened for networking, the port is randomly selected, but you can set it or simply re-enter the world for the game to assign a new port.
// Example command to check port availability (entered in CMD on a friend's computer)
telnet 192.168.1.55 25565
It's also worth checking your third-party antivirus software. Kaspersky, Avast, and ESET often have their own firewalls that ignore Windows settings. Temporarily disable the Firewall feature in your antivirus to test. If everything works after that, add Minecraft to the exceptions in your antivirus settings, not in Windows.
⚠️ Attention: Don't use the "Mobile Hotspot" feature (sharing Wi-Fi from a laptop) for gaming unless you have experience setting up routing. In default mode, the hotspot creates a new subnet, and the host computer may lose visibility of the friend's device without manually configuring NAT.
Optimizing Wi-Fi for stable gaming
Wi-Fi connection stability directly impacts the gaming experience. If the router is in another room behind thick walls, the signal may weaken, causing players to "teleport" and delays when placing blocks. The ideal option is to use a frequency 5 GHz, if your router and adapters support this standard. It provides higher speeds and is less susceptible to interference from microwave ovens and neighboring networks.
If using 5 GHz is not possible, try placing the router closer to the players or use a Wi-Fi repeater to boost the signal in the gaming area. You can also try manually changing the Wi-Fi channel in the router settings to a less crowded one (e.g., 1, 6, or 11 for 2.4 GHz) to avoid interference. This is especially important in apartment buildings.
For maximum performance, we recommend connecting the host computer to the router via Ethernet cable, leaving the friend's computer connected via Wi-Fi. A cable ensures zero packet loss and stable ping, which is critical for the game's server side. If a cable isn't feasible, ensure no one else on the network is downloading large files or watching 4K video, as the local network shares bandwidth.
Yes, but this requires port forwarding on the router or using LAN emulators like Hamachi or Radmin VPN. Simply opening the world to the network only works within a single apartment/house.
Frequently Asked Questions (FAQ)
Is it possible to play over a local network between a PC and a phone (Android/iOS)?
Yes, it is possible, but only if the PC version is installed Minecraft Bedrock Edition (from the Microsoft Store). Java Edition on PC doesn't recognize phones. Make sure "Visible to LAN Players" is enabled in the game settings on both PC and phone.
Why does my friend see my world but say "Incompatible version"?
This means you have different game patches installed (for example, 1.19.2 and 1.19.3). Minecraft doesn't support cross-version play. You need to update the game to the latest version or downgrade both players to the same older version via the launcher.
How many people can play on a local network at the same time?
There are no technical limitations, but performance depends on the host computer's performance. For a comfortable, lag-free experience, it's recommended to have no more than 3-5 players on a single Wi-Fi channel. With more players, the network and processor may be unable to handle the data processing.
Do you need internet to play on a local network?
No, an internet connection is not required. A local area network (LAN) works directly between devices through a router. However, if you're playing a licensed version, an internet connection may be required once to sign in to your Microsoft account before launching the game.