Game of Minecraft Playing with friends is one of the most exciting activities the modern entertainment industry has to offer. However, not everyone has the means to connect their computers with a cable or rent a dedicated server to create a multiplayer world. This is where local area network technology, running over a regular home Wi-Fi connection, comes in handy.
To successfully launch the game, you don't need sophisticated hardware or in-depth knowledge of network protocols. All you need is for all devices to be on the same wireless network and for compatible versions of the game client to be installed on your computers. Properly configured settings can turn one player's laptop into a fully-fledged host for other players to connect to.
In this article, we'll take a detailed look at the process of creating such a network, focusing on common issues with device visibility. You'll learn how to configure a firewall, check IP addresses, and avoid common errors that can interfere with your connection. Let's get your devices ready for co-op play.
Hardware and software requirements
Before you begin setting up, you need to make sure that your equipment meets the minimum requirements for stable operation in local network mode. Local Area Network (LAN) This creates a direct load on the host's processor, as it will be their computer that processes the world's logic for all connected players. A weak Wi-Fi module or an outdated router can cause lag and connection drops.
All players in the game must use the same version. Minecraft, whether it's Java Edition or Bedrock Edition. Mixing different game editions or versions (for example, 1.20.1 and 1.20.4) will make connection impossible. It's also critical that all devices are in the same frequency band, preferably 5 GHz, to ensure high channel throughput.
- 📡 A stable Wi-Fi router with support for the 802.11ac standard or higher to minimize latency.
- 💻 Computers or laptops with Java (for Java Edition) installed, version 8 or higher.
- 🔒 No guest Wi-Fi mode, which often isolates devices from each other.
⚠️ Note: If your router has "AP Isolation" enabled, devices won't see each other even if the game settings are correct. Disable this option in your router's admin panel.
It's also worth keeping in mind that a wireless connection is always less stable than a wired one. If the world host moves around the coverage area or the signal weakens, the game may freeze for all participants. It's recommended to stay close to the access point.
Checking network settings and IP addresses
The foundation of any local game is proper IP addressing. Computers must be able to "see" each other at the operating system level. In Windows, this is checked via the command line. You need to know your IPv4 addressto let his friends know for direct connection if automatic search doesn't work.
Open the command prompt by typing cmd in the Start menu and enter the command ipconfigFind the line corresponding to your wireless adapter and write down the numbers after "IPv4 address." They usually look like 192.168.xx. This address will be the key to your world for other players.
C:\Users\User> ipconfigEthernet adapter Ethernet:
IPv4 Address...........: 192.168.1.55
Subnet Mask...........: 255.255.255.0
Default Gateway.........: 192.168.1.1
It's important that all devices have the same first three digits of their IP address (e.g., 192.168.1), but different last digits. If the addresses are in different subnets (e.g., 192.168.0.x and 192.168.1.x), the devices will physically be unable to exchange data without complex routing.
Also, make sure your Windows network profile is set to "Private" and not "Public." When set to "Public," the system blocks device discovery for security reasons, completely preventing LAN play.
Setting up a firewall and antivirus
The most common reason why friends cannot connect to the created world is aggressive operating system security. Windows Firewall By default, it blocks incoming connections for unknown applications. When you first launch Minecraft, the system should ask for permission, but sometimes this dialog is lost or blocked by third-party software.
To resolve this issue, you need to manually add an exception rule. Go to the firewall control panel and select "Allow an application to communicate." Find it in the list. javaw.exe or Minecraft.exe and make sure that the boxes for private and public networks are checked.
☑️ Network security check
If you have a third-party antivirus installed (Kaspersky, ESET, Avast), it may have its own firewall that ignores Windows settings. In such cases, temporarily disabling the antivirus's firewall during a gaming session often helps.
Keep in mind that after updating a game or Java machine, the path to the executable file may change, causing the firewall rule to become invalid. In this case, you'll need to create a new rule for the updated file.
Creating a world and running a server on the host
Once the network settings are verified, the player whose computer will act as the server should launch the game. Select "Single Player" and create a new world or load an existing one. Once you are inside the game world, press the [key] Esc to open the pause menu.
In the menu, select the "Open to LAN" button. Here you can configure the settings: allow cheats for friends and select the game mode (Survival or Creative). After confirming, a message with the port will appear in the chat, for example: "Local game hosted on port 54321."
This port is a temporary address assigned to your game. It's dynamic and changes every time you restart the world. The combination of your static IP address and this dynamic port allows other players to find you.
Your computer now effectively becomes a mini-server. While you're in this world, other devices can connect to it. Leaving the world or closing the game will automatically block access for all other participants.
Connecting other players via Wi-Fi
Players who want to join the game must have Minecraft running on their devices. In the Java Edition, simply go to the "Multiplayer" section. The system will automatically scan your local network for available worlds.
If the host has configured the network correctly, a world labeled "LAN World" should appear in the list after a few seconds. If the list is empty, try clicking the "Direct Connection" button and entering the host's IP address, which we found earlier, followed by a colon and the port (e.g., 192.168.1.55:54321).
| Connection status | Possible cause | Solution |
|---|---|---|
| The world is not visible in the list | The firewall is blocking the connection | Add an exception for Java |
| Error: "Connection refused" | Invalid IP or port | Check the host IP and current port |
| High ping (lags) | Weak Wi-Fi signal | Move closer to the router or host |
For Bedrock Edition (Windows 10/11, consoles, phones), the process is even simpler: the "Friends" tab should automatically display available worlds. The main requirement is that all devices must be logged in with their Microsoft accounts and be on the same network.
Solving common visibility and connection issues
Even if you follow all the instructions, situations may arise where devices "don't see" each other. Often, the problem lies in the router's settings. Some models automatically separate clients into different VLANs or use security features that prevent direct connections between devices within the network.
Try rebooting your router and all computers. This will refresh DHCP leases and flush the DNS cache, which often resolves addressing issues. Also, make sure "Network Discovery" is enabled in the sharing settings on all computers.
⚠️ Note: Antivirus programs can block not only incoming connections but also Java scripts running on the network. If all else fails, try temporarily disabling your antivirus software for diagnostic purposes.
If you use complex DNS or VPN settings, they may interfere with your local connection. For LAN play, it's recommended to disable VPN clients, as they can redirect traffic through external servers, making local IP addresses inaccessible.
A secret method for advanced users
If the standard methods don't work, you can launch Minecraft with an argument that forces the network interface, but this requires editing the launcher shortcut and knowing the exact name of the network adapter.
Optimizing performance when gaming on Wi-Fi
Playing over a wireless network places additional demands on network stability. To minimize stuttering and player teleportation, the world host is advised to lower graphics settings, especially chunk draw distance. This will reduce the amount of data transferred over the network.
Refresh rate Packet speed also depends on signal quality. If your router supports dual-band mode, make sure all players are connected to the 5 GHz network. The 2.4 GHz band is highly susceptible to interference from microwaves, Bluetooth devices, and neighboring networks, causing unstable ping.
Closing background apps that consume bandwidth (torrents, streams, downloads) on all devices will significantly improve the situation. The local network shares the router's bandwidth, and any excess traffic will be felt as lag in the game.
In conclusion, it's worth noting that playing over a local Wi-Fi network is a great way to spend time together without the expense of servers. Proper preparation and understanding the basic principles of network operation will help avoid most problems and allow you to focus on building and adventuring.
Why does the game crash with the error "Internal Exception: java.io.IOException"?
This error most often occurs when data packets between the client and server become desynchronized. This could be caused by a sudden spike in Wi-Fi ping, mismatched mod versions, or a memory buffer overflow. Try reducing the draw distance or increasing the allocated memory for Java.
Is it possible to play over a local network between different operating systems?
Yes, the operating system doesn't matter. You can play across Windows, macOS, and Linux as long as you have the same version of Minecraft (Java Edition) installed. Cross-platform play (PC, phones, consoles) requires the Bedrock Edition.
How do I save my progress if the host turns off their computer?
In Local Area Network (LAN) mode, the world is stored on the host computer. If the host shuts down the game or computer, the world becomes unavailable to others, but progress is saved on the host's hard drive. For continuous access, a dedicated server is required.