Game of Minecraft It becomes much more exciting when you can build cities or battle mobs with friends. A local area network (LAN) is one of the easiest and fastest ways to connect multiple computers into a single gaming environment without having to rent paid hosting or configure complex router ports. This method is ideal if you share an apartment, office, or school and are connected to the same wireless access point.
However, despite the apparent simplicity, users often encounter technical obstacles: Windows Firewall may block the connection, game versions on devices may not match, and the router sometimes distributes traffic incorrectly between clients. In this guide, we'll cover the setup process in detail, paying special attention to network protocols and properly configure security settings so you can enjoy the game without lag or interruptions.
Before moving on to practical steps, you need to make sure your home network is ready to handle gaming traffic. Connection stability directly depends on signal quality. Wi-Fi and router settings. If one of the players is far from the router or the signal is blocked by walls, lag may be observed even if all other settings are correct.
Technical requirements and equipment preparation
To successfully organize a local game, all participating devices must be within range of the same wireless network. This means computers, laptops, or tablets must be connected to the same SSID (network name) of your router. It doesn't matter whether you're using a wired Ethernet connection or a wireless one, as long as the devices can see each other in the network environment.
The most important aspect is the software version. All players must use the same version of the game. Minecraft Java Edition or Bedrock EditionTrying to connect a client running version 1.20.1 to a server running version 1.19.8 is doomed to failure, as the data exchange protocols will be incompatible. It's also worth checking that all computers have the necessary operating system updates installed, as these may affect network driver operation.
⚠️ Attention: Make sure "Client Isolation" (or AP Isolation) is not enabled in your router settings. If this option is enabled, devices connected to your Wi-Fi will not be able to communicate with each other, even if they are on the same network.
The hardware power of the host computer running the world also plays a role. Since this PC acts as the server, it must have sufficient RAM and processor power to handle the world's physics and the actions of all connected players simultaneously.
- 🖥️ Host: A computer with the game installed and sufficient RAM (at least 4 GB free).
- 📡 Router: A device that supports 802.11n/ac/ax standards for stable data transmission.
- 🔌 Cable: It is advisable for the host to use a wired Ethernet connection to reduce ping.
- 💾 Java version: The current version of Java Runtime Environment, corresponding to the version of Minecraft.
Setting up a network and obtaining an IP address
The first step to creating a game session is to correctly configure the network settings. The computer that will host the game must have a static or reserved network. IP address on the local network. This will prevent a situation where the address changes after rebooting the router, preventing your friends from connecting to your world.
To find out your computer's current IP address, you need to use the command line. Press the key combination Win + R, enter cmd and press Enter. In the window that opens, enter the command ipconfig and find the line "IPv4 address". It usually looks like this 192.168.0.X or 192.168.1.XThis is the address you will need to share with your friends to connect.
C:\Users\User> ipconfigEthernet adapter Ethernet:
IPv4 address.........: 192.168.1.45
Subnet mask.........: 255.255.255.0
Default gateway: 192.168.1.1
If you plan to play regularly, it makes sense to go to your router settings and assign this address to the MAC address of your PC's network card. This is done in the section DHCP Server -> Address ReservationOtherwise, every time you change your IP address, you'll have to tell your friends the new address again.
It is also worth mentioning the importance of equal working group on all computers. While modern versions of Windows often ignore this requirement, on older systems or when using specific network settings, it can be a barrier. Make sure the workgroup name is specified in the system settings on all PCs, for example, WORKGROUP.
Launching the world and opening LAN access
Once the network infrastructure is ready, you can proceed directly to launching the game. Launch Minecraft On the host computer, enter a single-player game by selecting the desired world or creating a new one. Make sure the world has fully loaded and you are inside the game space.
To open access, press the key Escto bring up the pause menu and select the button Open to the web (Open to LAN). In the window that appears, you can configure settings for other players: allow cheat codes and select a game mode (survival, creative, etc.). After confirming the settings, the game will inform you that the port is open.
A system message will appear in the chat indicating that a local server is running on a port, for example, 25565This port number is critical. The full connection address will consist of your IP address and this port, separated by a colon: 192.168.1.45:25565If the port differs from the standard 25565, it must be specified.
⚠️ Attention: Don't close the game window or go to the main menu while the game session is in progress. If the host leaves the world, the server will close and all connected friends will be disconnected.
Friends can now log into the game. They should select "Login" from the main menu. Network game (Multiplayer). If everything is configured correctly, your server should automatically appear in the list of available local worlds. If it doesn't, you can use the button Direct connection and enter the IP address with port manually.
☑️ Pre-launch checklist
Setting up a firewall and antivirus
The most common reason why friends cannot see the server is the aggressive security policy of the operating system. Windows Firewall By default, it can block incoming connections from unknown programs, including Java and Minecraft. When the server first starts, the system usually asks for permission, but sometimes this window is lost or blocked.
To resolve this issue, you need to manually add a rule to the firewall. Open Control Panel -> Windows Defender Firewall -> Advanced Settings. Under Inbound Rules, create a new rule, selecting "For a program" and specifying the path to the executable file. javaw.exe or directly to the Minecraft launcher.
It's important to allow connections for all network profiles (private, public, domain), although a private network is sufficient for home gaming. Make sure "Allow the connection" is selected. Similar steps may be required for third-party antivirus programs, such as Kaspersky, ESET or Dr.Web, which have their own built-in firewalls.
| Component | Action | Status |
|---|---|---|
| Windows Firewall | Allow Java/Minecraft | Necessarily |
| Antivirus | Add to exceptions | Recommended |
| Router | Disable insulation | Critical |
| Net | Type "Private" | Desirable |
If the problem persists after configuring your firewall, try temporarily disabling it completely (just to test!) and launching the game again. If the connection reappears, the issue is with your security settings, and you should examine your security software's blocking logs in more detail.
Solving common connection problems
Even with careful configuration, errors can still occur. One of the most common is "Connection refused" or "Connection timed out." The first error often indicates that the server is running, but the port is closed or in use by another process. The second error indicates that packets are simply not reaching their destination, which can be caused by an invalid IP address or a driver-level block.
Another common issue is desynchronization of mod versions. If you are using a build with mods (for example, through Forge or Fabric), all players must have an identical set of mods and configuration files installed. Missing even one mod on a friend's client will result in them being unable to join the server.
What should I do if it says "Outdated server"?
This message means the client and server versions don't match. The host needs to either update the game or ask their friends to downgrade to an older version that matches their world.
Problems can also be caused by your Wi-Fi adapter's power settings. Windows may try to save power by disabling the adapter or reducing its performance, which can lead to connection drops. Find your wireless adapter in Device Manager, open its properties, and under the Power Management tab, uncheck "Allow the computer to turn off this device to save power."
It's also worth checking if you're using a public network profile. When connecting to a new network in Windows, you'll be asked whether it's public or private. For LAN gaming, this status must be selected. "Private", since in a public profile the computer becomes invisible to other devices.
- 🔄 Reboot: Restarting your router and all computers solves 50% of DHCP and DNS cache problems.
- 🛡️ Antivirus: Temporarily disable your third-party firewall for diagnostic purposes.
- 📶 Range: Make sure everything is on the same frequency (2.4 GHz or 5 GHz), although modern routers usually bridge them correctly.
- 🔢 Port: Check if port 25565 is occupied by another program (for example, Skype or another server).
Optimizing performance for the game
When multiple players gather in a single world, the host CPU load increases exponentially. Each player generates new chunks and activates mobs and mechanisms. To ensure smooth gameplay, it is recommended to allocate more RAM to the game. This can be done in the launcher settings by increasing the parameter -Xmx up to 4GB or more, if RAM capacity allows.
Using optimization mods such as Sodium (for Fabric) or OptiFine (for Forge), significantly increases FPS and server stability. These mods rewrite graphics rendering and data processing, allowing even low-end computers to comfortably play in multiplayer mode. It's especially useful for the host to install the mod. Paper or Spigot, if we are talking about the server part, but for a simple LAN world, client-side optimizers are sufficient.
Reduce your render distance settings. In multiplayer, each player sees the world independently, but the server needs to process changes in the chunks around each player. Reducing the render distance to 8-10 chunks will reduce the load on the host CPU and reduce the number of packets transmitted over the network, which is especially important for Wi-Fi connections.
If you are playing on the version Bedrock Edition (Windows 10/11, consoles, phones) The process is even simpler, as it uses the built-in Xbox Live system for game discovery. However, visibility issues may still occur if local wireless access isn't enabled in the Xbox privacy settings.
Is it possible to play on a phone and a computer together?
Yes, but only if you're using Minecraft Bedrock Edition. Java (PC) and Bedrock (phones, consoles) versions are not directly compatible. Cross-platform play requires Minecraft for Windows 10/11 installed on your PC.
Do you need internet to play on a local network?
Playing over LAN doesn't require internet access; a router is sufficient to connect the devices. However, internet access may be required to verify the game's license upon launch or to download skins and capes.
Why does the sound of other players' footsteps disappear?
This is a known issue with network synchronization. Audio may lag or cut off if the ping is high. Make sure "Sounds from other players" is enabled in the game's audio settings and the correct output device is selected.