Play Minecraft Sharing time with friends in the same room or apartment is a classic way to spend leisure time that doesn't require expensive dedicated servers or complicated port forwarding setups. A local area network (LAN) set up via a home computer Wi-Fi router, allows all session participants connected to the same access point to see each other's world and interact with it without the lag typical of remote connections. This is ideal for parties, family games, or simply cooperative survival, when all players use their PC or laptops within the same living area.
However, despite the apparent simplicity of the process, users often encounter technical difficulties: computers don't recognize each other, the connection drops, or the game simply doesn't appear in the list of available worlds. The problem lies not so much with the game itself, but with the security settings. Windows, firewall settings and home network features local networkIn this article, we'll walk you through a step-by-step process to help you establish a stable connection, as well as explore specific nuances that are often overlooked during initial setup.
Before proceeding with specific steps, you need to ensure that the physical connection is properly established. All computers participating in the game must be connected to the same network. Wi-FiIt doesn't matter whether you're using a wireless or cable connection. EthernetThe main thing is that all devices are on the same network segment and receive IP addresses from the same router. If one computer is connected to a mobile data plan and the other to your home Wi-Fi, creating a local session won't work.
Preparing the network infrastructure and checking connections
The foundation for successful LAN gaming is the proper configuration of your router and network adapters. In most cases, modern routers automatically configure the necessary settings, but for gaming purposes, it is important to ensure that client isolation is not activated. This feature, often referred to as AP Isolation or "Access Point Isolation" may be enabled by default on public networks, but in a home environment it should be disabled, otherwise devices simply will not "see" each other in the list of network resources.
The test begins with an analysis of IP addresses. Each computer in your gaming group should have an IP address belonging to the same subnet. Typically, these addresses look like this: 192.168.1.X or 192.168.0.X, where X is a unique number for each device. If one of the players has an address starting with 10.0.X.X, and the other one has 192.168.X.X, which means they are on different networks, even if they are connected to the same router (for example, via a guest network).
⚠️ Important: If you're using a guest Wi-Fi network for guests, make sure its settings allow communication between clients. Guest networks are often created specifically to isolate devices from each other for security purposes.
For quick diagnostics, you can use built-in Windows tools. Open the command prompt by entering cmd in the Start menu and try pinging another computer using its IP address. If you get a response, there's a physical connection and the problem lies in the software settings. If you're experiencing packet loss or timeouts, check your router settings or reboot your network equipment.
Configuring network settings in the Windows operating system
operating system Windows By default, it seeks to protect the user by limiting the computer's visibility on the network. To play Minecraft To connect to a local network, you need to change the network profile from "Public" to "Private." In the public profile, the system blocks incoming connections and hides the PC from other devices, making it impossible to create a game world.
To change the profile, go to network and internet settings, select your active connection (Wi-Fi or Ethernet) and in the properties, switch the network profile to PrivateThis action will make your computer discoverable by other devices on the local network. Without this step, even with ideal router settings, the game won't launch in host mode.
Next, you need to check your sharing settings. In Control Panel, under "Network and Sharing Center," select "Change advanced sharing settings." Here, you should enable network discovery and file and printer sharing. While you don't need to transfer files to play the game, these services are responsible for the basic discovery protocol used. Java to broadcast the game world.
☑️ Windows Preparation Checklist
It is also important to make sure that all computers have the same version of the game installed. Minecraft Strictly enforces version compliance: a player with version 1.20.1 will not be able to connect to a host with version 1.20.4. It is also advisable for all participants to have the same mod sets installed if you are using a modified client, for example, Forge or Fabric.
Launching the game and creating a world for a local network
After successfully setting up the network, you can proceed directly to launch MinecraftLaunch the game on the computer that will act as the server (host). This should be the most powerful PC in the group, as it will handle the calculations of the world's physics, mobs, and environment for all connected players.
In the main menu, select "Single Player" and create a new world or select an existing one. Once the world has loaded, press the Esc to open the pause menu. In the list of options that opens, find the "Open to LAN" button. Clicking it will launch the built-in server.
Local game hosted on port 54321
In the window that appears, you can configure settings for other players: allow cheats and select a game mode (Survival, Creative, etc.). After confirming, a message will appear in the chat with the port number the server is running on. This port (for example, 54321) is critical if automatic discovery fails and friends have to connect manually.
⚠️ Note: The port number is randomly generated each time you start a local network. If you restart the world, the port will change, and your friends will have to search for the game again or enter a new address.
What should I do if the "Open to the web" button is grayed out?
If the button doesn't click or disappears, check if the world is running in Hardcore mode. In Hardcore mode, opening the world to the network is prohibited by the game rules. The issue could also be corrupted game files or a lack of administrator rights.
Now other players can access the "Multiplayer" menu. If everything is configured correctly, the host's world labeled "LAN World" should appear in the list of available servers within a few seconds. If it doesn't appear, you can try refreshing the list or wait up to 30 seconds.
Troubleshooting Firewall and Antivirus Issues
The most common reason why friends can't see the created world is the aggressive operation of the Windows Firewall or third-party antivirus. On first launch Java or Minecraft The system should request permission to access the network. If you accidentally click "Cancel" or "Block," the connection will be terminated at the OS level.
To fix this, open Windows Defender Firewall settings. Go to the "Allow an app" section and find Java(TM) Platform SE binary or directly javaw.exeMake sure all network types (Private and, if necessary, Public) are checked. If there's no entry, click "Allow another app" and specify the path to the Java executable file.
| Component | Action | Status |
|---|---|---|
| Windows Firewall | Allow Java/Minecraft | Necessarily |
| Third-party antivirus | Check Game Mode or Exceptions | Recommended |
| Network profile | Set up "Private Network" | Necessarily |
| IP addresses | Subnet check (192.168.xx) | Necessarily |
If you have a third-party antivirus installed (Kaspersky, ESET, Avast, etc.), it may have its own built-in firewall that ignores Windows settings. In this case, you should temporarily disable network protection or add Minecraft Add exceptions to a specific antivirus program. Switching the antivirus profile to "Trusted Network" or "Home Network" mode often helps.
Manual connection by IP address
If automatic search fails to find the server, the most reliable method is to connect directly via IP address. To do this, the host needs to know its local IP address. This is done via the command line with the command ipconfigFind the "IPv4 address" line in the active connection—this is the set of numbers you need.
Friends need to select the "Add Server" or "Direct Connection" button in the game menu. In the address field, enter the host IP and port, separated by a colon. The format is as follows: 192.168.1.5:54321Please note that spaces are not allowed, and the colon serves as a separator.
Sometimes a static IP address can change after a router reboot. To avoid constant address changes, you can assign the IP address to the host's network card in the router settings or in the Windows TCP/IP settings. This is especially important if you plan to play regularly and don't want to re-learn the address each time.
Common mistakes and how to fix them
Even if you follow all the instructions, specific errors may still occur. One of the most common is "Connection timed out" or "Connection refused." The former usually indicates issues with the firewall or physical connection, while the latter indicates that the port is closed or the game has frozen on the host side.
It is also worth paying attention to the version JavaFor modern versions Minecraft Up-to-date Java is required (usually version 17 or higher for new releases). If different runtime versions are installed on different computers, the game may not launch or may be unstable. We recommend using the built-in launcher, which automatically manages Java versions.
⚠️ Note: Antivirus software with the "Home Network Protection" feature may block port scanning attempts that Minecraft makes when searching for servers. Temporarily disable this feature to test.
If all else fails, try creating a new Windows user account with administrator privileges and launching the game from there. This will eliminate any access rights conflicts with network system files that may have accumulated in the primary profile.
Why does the game disappear from the list after a few minutes?
The local Minecraft server periodically sends discovery packets (broadcasts). If a firewall blocks these packets or the network adapter goes into power-saving mode, the list may be delayed or empty. Check the power settings of your USB and Wi-Fi adapter.
Is it possible to play different versions of Minecraft over Wi-Fi?
No, the game protocol does not support cross-version support for local networks. The client version and the server (host) version must match completely, including the build number (e.g., 1.20.1 and 1.20.1).
How to increase the world visibility radius?
On a local network, the view distance depends primarily on the host computer's performance. You can increase it in the server.properties file (view-distance parameter), but this will significantly increase CPU usage and may cause lag on slower PCs.
Do you need internet to play on a local network?
The game itself doesn't require an internet connection; a local connection between PCs is sufficient. However, to log in, verify the license, and download resources (skins, capes), a short internet connection will be required upon launch.