Minecraft Wi-Fi Local Area Network: A Complete Guide

Organizing a joint game in Minecraft Without paid hosting or internet access—a challenge many PC owners face. It often happens that several computers are connected to the same router, but the game can't see each other, or the connection keeps dropping. Understanding how it works local area network (LAN) allows you to turn multiple laptops into a single gaming platform using only your home computer Wi-Fi router.

The main difficulty lies not in the game itself, but in the operating system settings. Windows and network security settings. Computers may be physically connected via a wireless signal, but software barriers will block the exchange of game packets. In this guide, we'll cover every step: from setting up a network profile to port forwarding if standard methods fail.

You will learn how to set it up correctly firewall, so it doesn't block the Java application, and why it's important for all devices to be on the same network profile. We'll cover both the game's built-in "Open to Network" features and more advanced methods for creating a dedicated server that will perform more reliably with a large number of players.

Hardware and network requirements

For stable LAN gaming, it is critical that all participating computers are on the same network segment. This means that all devices must be connected to the same routerIf one computer is connected via cable and the other via Wi-Fi, this is acceptable, but both interfaces must belong to the same subnet provided by the router.

Particular attention should be paid to the wireless communication standard. For a comfortable gaming experience without lags and delays, it is recommended to use the following range: 5 GHz, if your devices and router support the standards 802.11ac or 802.11ax (Wi-Fi 6)The old 2.4 GHz band is often overloaded with neighboring networks, resulting in packet loss and player teleportation.

⚠️ Note: If you're using a guest Wi-Fi network (Guest Network) on your router, computers may be isolated from each other using the "AP Isolation" feature. In this mode, devices can see the internet but cannot exchange data with each other.

Also, make sure all PCs have the same game version installed. Mismatched versions (for example, 1.20.1 and 1.20.4) will prevent you from connecting. Below is a compatibility and requirements table:

Parameter Minimum requirement Recommended value Impact on the game
Wi-Fi protocol 802.11n (2.4 GHz) 802.11ac (5 GHz) Reduce ping and packet loss
Java version Java 8 (for older versions) Java 17/21 (for new users) Server stability
Network profile Private network Private network Opening ports for LAN
Bandwidth 10 Mbps 50+ Mbps (local) Chunk loading speed
📊 What type of connection do you have to your router?
2.4 GHz Wi-Fi only
5GHz Wi-Fi only
Combined (PC via cable, laptop via Wi-Fi)
Mobile hotspot

Setting up a network profile in Windows

The first step is to correctly configure the network profile. Windows may classify a new connection as "Public" by default, which hides the computer from other devices on the network. We need to change this status to Private Network.

To do this, go to the Start menu and select Settings (the gear icon). Then follow the path Network and Internet → StatusIn the "Properties" section of your current connection (Wi-Fi or Ethernet), select the "Private" profile type. This will make your PC discoverable by other devices.

☑️ Check network settings

Completed: 0 / 5

After changing your profile, you need to check your sharing settings. Open "Control Panel" using the search bar, then go to Network and Internet → Network and Sharing Center → Change advanced sharing settingsIn the "Private" profile, make sure "Turn on network discovery" and "Turn on file and printer sharing" are enabled.

It's important to note that changes may only take effect after reconnecting to the network or restarting your computer. If you use third-party antivirus software with a built-in firewall (for example, Kaspersky or ESET), their settings may be prioritized over system settings, and profiles must be checked within the antivirus interface.

Launching and configuring the game world

After preparing the network, we proceed directly to MinecraftLaunch the game on the computer that will act as the host (server). Create a new world or select an existing one to which you want to invite friends. Important: the world must be loaded by one of the players for it to be discoverable.

While inside the game world, press the key Esc to open the pause menu. In the list of options, find the button Open to the web (Open to LAN). Click it. In the window that opens, you can set the game mode for guests (Survival or Creative) and allow cheats.

⚠️ Note: After the world is opened to the network, a message with the port number will appear in the chat, for example: "Local server running on port 54321." This number is critical if automatic detection fails.

What should I do if the "Open to the Web" button doesn't appear?

If the button is missing, make sure you're in the game world and not the main menu. This feature is also unavailable in some modded builds or when running offline with certain launchers. Try launching the official version of the game.

Now, launch the same version of Minecraft on other computers connected to the same Wi-Fi network. Go to the "Multiplayer" menu. The game should automatically scan the network and find the running world in the list of available servers. If the world appears, simply click "Join Network."

Troubleshooting connection and port issues

A common problem is when computers cannot see each other despite the correct settings. In this case, you need to use a direct connection via IP address. First, find out the local IP address of the host computer. To do this, click Win + R, enter cmd and in the black window enter the command ipconfig.

Find the line "IPv4 address". It usually looks like this: 192.168.1.XX or 192.168.0.XX. Write down these numbers. On client computers, in the "Network Play" menu, click the button Direct connection (Direct Connect). Enter the host address in the format IP:Port, For example: 192.168.1.5:54321.

If the connection fails, the blocking is most likely occurring at the level Windows FirewallYou need to create a rule allowing incoming connections for Java. Open Windows Defender Firewall using the search bar, select Advanced settings → Inbound Rules → New Rule.

Rule type: For program

Path: C:\Program Files\Java\jdk-17\bin\java.exe (path may vary)

Action: Allow the connection

Profile: Private, Guest or Public

Name: Minecraft LAN Server

Using Hamachi and LAN emulation

If players are in different physical locations but want to play as if they were on a local network, or if your router blocks multicast packets for game discovery, you can use software solutions to create a virtual network. A popular tool is LogMeIn Hamachi.

All participants must install the program and register. One player creates a new network, sets a name and password, and the others connect by entering these details. Upon successful connection, a green indicator next to the friend's nickname will light up in the Hamachi interface.

The connection principle in Minecraft remains the same as with a physical Wi-Fi connection, but instead of a local IP, an IP address issued by the Hamachi program is used (usually starts with 25.x.x.x). The host opens the world to the network, and clients connect via "Direct Connection" by entering that specific IP.

⚠️ Note: LAN emulators create an additional tunnel over your internet connection, which can increase ping (latency). For a comfortable gaming experience, keep your distance to the Hamachi server as small as possible.

An alternative to Hamachi can be Radmin VPN or ZeroTier, which often operate more reliably and don't require complex routing configuration. ZeroTier, in particular, creates a secure enterprise-grade network, which is ideal for Minecraft because it operates at a lower network level.

Optimizing server performance

When the host computer is both a player and a server, it experiences double the load. This can lead to FPS drops and stuttering (TPS drops). For optimization, it's recommended to allocate more RAM to Java.

In the Minecraft launcher (official or third-party like Prism Launcher) you can configure launch parameters. Add arguments -Xmx2G -Xms1G, Where 2G — the maximum amount of memory, and 1G — minimum. Heavy builds with mods may require 4-6 GB of memory.

It is also worth lowering the graphics settings on the host computer. Reducing the drawing distance (Render Distance) significantly reduces the CPU load when generating worlds for other players. The optimal value for playing over Wi-Fi is 8-10 chunks.

If you plan to play regularly, consider using a dedicated server. server.jar, which can be run on the same PC in the background or on a separate, low-power laptop. This will free up the main gaming computer from network hosting duties.

Why does the game crash when a second player connects?

This is most often due to insufficient RAM or a Java version conflict. Ensure that the host has sufficient RAM allocated and that the game versions (including minor versions, such as 1.16.5) are the same on all PCs.

Is it possible to play via Wi-Fi from a phone to a PC?

Yes, this is possible in Minecraft Bedrock Edition (for Windows 10/11 and mobile devices). For the Java Edition, you'll need to install special plugins (GeyserMC) on the server to convert communication protocols.

How do I know if my antivirus is blocking my connection?

Try temporarily (for 1-2 minutes) completely disabling your antivirus and firewall. If the connection is restored, the issue lies with your security settings. Don't forget to create an exception for Java after testing, rather than leaving your PC unprotected.