Playing together Minecraft opens up entirely new horizons for creativity and survival, turning solo wandering through a cubic world into a thrilling adventure. When two players are in the same home or office, the most logical and fastest way to connect is via a local network via a shared Wi-Fi routerThis avoids the delays typical of remote connections and eliminates the need for complex port configuration or hosting.
However, despite the apparent simplicity, users often encounter situations where computers don't see each other in the list of available worlds. Issues can stem from Windows Firewall settings, differences in game versions, or network profile configurations. In this article, we'll detail all the steps necessary for a stable connection and troubleshoot common errors that can hinder your enjoyment.
First, you need to make sure both computers are connected to the same wireless network. This is a basic requirement, without which further steps are pointless. If one of the PCs is connected via Ethernet-cable, and the other through Wi-Fi, but both are on the same subnet (which is usually the default in home routers), the connection should also work correctly.
Checking Windows network settings and profiles
The first critical step is to check the network profile type. Operating system Windows By default, new connections may be assigned the "Public Network" status, which prevents other computers from seeing your device for security reasons. You need to change this setting to "Private Network" to allow discovery.
To perform this procedure, open the Options menu using the keyboard shortcut Win + I and go to the "Network and Internet" section. From the list of available connections, select your current one. Wi-Fi and change the network profile from "Public" to "Private." This will allow data packet exchange between devices within your home network.
Next, make sure network discovery is enabled. Open Control Panel, go to Network and Sharing Center, and select Change advanced sharing settings. Under Private, enable Turn on network discovery and Turn on file and printer sharing.
⚠️ Warning: If you're in a public place (cafe, university), changing your profile to "Private" may make your computer visible to third-party devices. In these situations, it's best to use a VPN or avoid hosting a local game.
After making changes, it is recommended to restart your computer for the new settings to take effect. Often, ignoring this step leads to local area network does not work, although the physical connection is established.
Configuring a Firewall for Java Edition
Windows Security may be blocking incoming connections to the game. Minecraft Java EditionIf your firewall doesn't have exceptions for the Java platform, other players simply won't see your world in the multiplayer list. You'll need to manually add a rule for the game's executable file.
Open Control Panel, find Windows Defender Firewall, and go to Allow an app. Find javaw.exe or OpenJDK Platform and make sure the "Private" and "Public" boxes are checked. If there's no entry, click "Allow another app" and specify the path to Java.
It's also worth checking if a third-party antivirus is blocking the connection. Some antivirus programs have their own built-in firewalls that ignore Windows system settings. Temporarily disable network protection in your antivirus to test this hypothesis.
If you use Windows DefenderIf the previous steps didn't help, you can try resetting your firewall settings to their default state. This is guaranteed to remove any erroneous rules that may have been created previously by other programs.
Creating a Local World in Minecraft
Once the operating system is configured, you can proceed directly to the game. Launch Minecraft and log in to your account. It's important that both players have the same version of the game installed, otherwise the connection will be impossible due to protocol incompatibility.
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 list that opens, select "Open to LAN." In the window that appears, you can configure the game mode for friends and enable cheats.
☑️ Pre-launch checklist
After confirmation, a message with the port number will appear in the chat, for example: "Local game hosted on port 54321." This number is critical if automatic detection fails. Write it down or remember it, as you'll need it to connect manually.
Now the second player should go to the "Multiplayer" menu. If everything is configured correctly, the created world should appear in the list of available servers within a few seconds. If no world exists, a manual connection via IP address will be required.
Manual connection via IP address
In cases where automatic search fails to find the host, you must use direct address entry. To do this, the host (the world creator) needs to know its local IP address. Click Win + R, enter cmd and press Enter. In the black console window, enter the command ipconfig.
Find the line "IPv4 address". It usually looks like this: 192.168.1.X or 192.168.0.XThis is the address that needs to be shared with the friend. The second player selects "By Address" in the "Network Play" menu and enters the host IP, followed by a colon and the port that was displayed in the chat when the world was opened.
192.168.1.55:25565
The input format must be strict: IP address, colon, port. There should be no spaces. If the connection fails, check if the host's IP address has changed (it can change when reconnecting to Wi-Fi).
| Parameter | Where to find | Example of meaning |
|---|---|---|
| Local IP | Team ipconfig |
192.168.1.45 |
| Port of the game | Minecraft Chat (F1) | 54321 |
| Connection string | Network Play menu | 192.168.1.45:54321 |
| Java version | Java Control Panel | Java 17 / Java 21 |
Bedrock Edition Connection Features
If you are playing the version Minecraft Bedrock Edition (formerly known as Windows 10 Edition), the process is different. It uses Xbox Live technology, and both players must be signed in to their Microsoft accounts to play online. Local detection also depends on privacy settings.
Make sure "Visibility for LAN" is enabled in the game settings under "Profile." Additionally, Minecraft must be allowed to access your LAN in the "Privacy" section of the Windows system.
⚠️ Note: In Bedrock Edition, the versions must match completely, including the build number. Even a single minor update difference (for example, 1.20.10 and 1.20.11) will prevent connection.
A common problem is a lack of updates. Check in the store. Microsoft StoreCheck to see if updates are available for the game. Automatic updates can be disabled, so it's a good idea to check manually before starting a game session.
Troubleshooting common connection errors
One of the most common issues is the "Outdated server" or "Outdated client" message. This means that the players' game versions don't match. The host needs to either update or roll back the launcher version to match the friend's version. official launcher This is done by creating a new profile and selecting a specific version.
Another common error is "Connection refused: no further information." This often indicates that the firewall is blocking the connection, or the antivirus software is detecting suspicious game traffic. Try disabling the firewall completely while troubleshooting.
If the game crashes upon connecting, the problem may be a lack of RAM or overheating hardware. A local network places additional strain on the processor, as the host must process the world logic for two players simultaneously.
What to do if it lags?
If you experience lag when playing over Wi-Fi, try moving closer to the router or using an Ethernet cable. Also, reduce the chunk draw distance in the graphics settings to 8-10 chunks to reduce the network and CPU load.
Don't forget that the quality of the connection directly depends on the power of your routerOlder 802.11n models may struggle to handle the data flow, especially if heavy mods or resource packs are installed. In this case, switching to the 5 GHz frequency (if the router is dual-band) can significantly improve the situation.
Optimizing network performance
For stable gaming, it's important to minimize the number of devices actively using the internet during a session. Downloading large files, streaming 4K video, or online broadcasts on other devices can create Wi-Fi bottlenecks.
Use channels with the least congestion. If your router is operating on a congested frequency (neighbors also share Wi-Fi), packet loss may occur. In the router settings (accessible via a browser at 192.168.0.1 or 192.168.1.1) you can change the broadcast channel to a freer one.
It's also worth updating your network adapter drivers. Laptop and Wi-Fi module manufacturers periodically release updates that improve connection stability and data packet processing speed. This is especially important for older network card models.
FAQ: Frequently Asked Questions
Is it possible to play with mods on a local network?
Yes, you can. All players must have the same mods, Forge or Fabric versions, and configuration files installed. If one player has a mod installed and the other doesn't, the connection won't work or the game will crash.
Why can my friend see my world but can't connect?
Most likely, the problem lies with your firewall or antivirus software, which allows detection packets through but blocks the connection itself. Also, check if you have a player limit set in the world opening settings.
Do you need internet access to play on the same Wi-Fi network?
Internet access is not required for the game itself; a local connection between the computers is sufficient. However, internet access is required for logging into the launcher when starting the game and for license verification. Once you're in the game, you can disconnect the cable.
How do I find out what port Minecraft is using?
By default, Minecraft Java Edition uses the port 25565However, when opening a world via "Open to Network," the game generates a random port, which is displayed in the chat. This random port must be used to connect.