Surviving together in a cubic world is an engaging experience that transforms a single-player sandbox into a dynamic social platform. Many players wonder how to play Minecraft with a friend over WiFi without resorting to complex servers or paid subscriptions. A local area network (LAN) allows you to connect devices within range of a wireless signal, creating a unified gaming zone without the need for hosting. It's ideal for evening get-togethers with laptops or tablets.
However, despite its apparent simplicity, the process often encounters technical barriers, such as blocked ports by a firewall or incorrect router settings. UDP protocolThe connection the game uses to transfer data is sometimes blocked by antivirus software, which considers it suspicious activity. Understanding how a local network works will help you avoid most connection errors. We'll cover all the details, from setting up a router to entering special commands.
It's important to remember that all players must be running the same game version, otherwise the connection will simply fail. Even the slightest discrepancy in build numbers can result in a protocol incompatibility message. It's also worth checking that all devices are on the same subnet, meaning they're connected to your home router and not to a neighbor's guest Wi-Fi or mobile data.
Technical requirements and equipment preparation
Before you begin setup, you need to make sure that your equipment meets the minimum requirements for stable network operation. Java Edition on computers and Bedrock Edition Consoles and mobile devices use different connection algorithms, so the first step is to check the versions. Make sure you and your friend have the same game updates installed, as cross-platform play between different versions is impossible without special plugins.
The quality of your wireless connection directly impacts the absence of delays, known as ping. If your router supports dual-band mode, it's best to switch to a different frequency. 5 GHz, which is less congested and provides higher data transfer rates. Standard 802.11ac or newer is preferred for transmitting large amounts of data generated when exploring new chunks of the world.
⚠️ Warning: If you are using public Wi-Fi (cafe, university), the connection via the local network will most likely be blocked by the network administrator due to security policy.
It's also worth checking your network adapter's power settings. Windows may be set to a default power-saving mode that periodically disables the Wi-Fi module to conserve battery power, leading to connection drops. Open Device Manager, find your network adapter, and uncheck the box next to "Allow the device to be turned off" in its properties.
Setting up a local area network (LAN) on a computer
Creating a world for a local network game is a basic method that doesn't require any additional software. Launch the game, create a new world, or load an existing one you want to use for co-op play. Once the world is loaded, press Esc to bring up the pause menu and select the "Open to LAN" button.
In the window that opens, you can configure access settings for other players. Here you can enable cheats and select a game mode for your friends. After confirming your actions, a system message with the port will appear in the chat, for example: Local game hosted on port 54321This number is critically important, as it is the number your friend will need to connect directly if the automatic search fails.
☑️ Checklist before starting a LAN game
Other players should see your world in the list of available servers in the Multiplayer menu. If the world doesn't appear automatically, they can use the Direct Connect feature and enter your IP address, followed by a colon and the port number. For example, if your IP 192.168.1.5, and the port 54321, the connection string will look like this 192.168.1.5:54321.
Playing games between different devices via LAN
Cross-platform compatibility has become the standard, but it brings its own adjustments to the setup process. Bedrock Edition Allows players to play together on Android, iOS, Windows 10/11, and Xbox consoles. All players must be signed in to their Microsoft accounts. In the game settings, make sure the "Local Server" toggle is enabled; otherwise, your device won't be visible to other players online.
The problem often stems from Windows privacy settings. If the host is a computer and a friend is connecting from a phone, the system may block device discovery. Go to network settings and ensure the network profile is set to "Private" and not "Public." When set to "Public," Windows hides the computer from other devices for security reasons.
| Host platform | Friend's platform | Required version | Connection nuances |
|---|---|---|---|
| Windows 10/11 | Android / iOS | Bedrock | You need to sign in to your Microsoft account. |
| Android | iOS | Bedrock | The same Wi-Fi is required. |
| Windows (Java) | Windows (Java) | Java Edition | Exact version match required |
| Xbox console | PC (Windows) | Bedrock | An Xbox Live account is required. |
It's worth noting that Java Edition and Bedrock Edition are not natively compatible. If you have different versions of the game, you'll need to use specialized intermediary servers, such as GeyserMC, which translate protocols on the fly. However, for simple Wi-Fi play, the easiest way to configure all devices is to use the Bedrock standard, which is available for free on most platforms or is included with Game Pass.
Why can't my phone see my computer on the network?
The problem often stems from AP Isolation on the router. This feature prevents devices connected via Wi-Fi from communicating with each other. It should be disabled in the router settings.
Troubleshooting connection and firewall issues
The most common reason why a friend can't connect to your world is an active Windows Firewall or third-party antivirus. By default, the security system blocks incoming connections for unknown applications. You need to add an incoming connection rule, allowing the game's executable file (java.exe for the Java version or Minecraft.Windows.exe for Bedrock).
If automatically creating a rule doesn't help, you can try resetting your network settings. In Windows 10 and 11, this can be done via the command prompt with administrator rights. Run the command netsh winsock reset and restart your computer. This action clears the network socket cache and often resolves issues with device visibility on the local network.
⚠️ Note: Router and operating system interfaces may differ. If you don't find the setting described, check the official documentation from your equipment manufacturer, as menu item names may change.
Also, check if "AP Isolation" is enabled on your router. This feature is often enabled by default on public networks, but can be accidentally enabled at home as well. It prevents data exchange between Wi-Fi clients, making LAN gaming technically impossible, even if the devices can see the router.
Alternative Methods: Hamachi and Virtual Networks
If a direct Wi-Fi connection is not possible due to router or provider restrictions, you can create a virtual local area network (VLAN). Hamachi or Radmin VPN They emulate a physical connection, allowing computers to "think" they're in the same room, even if they're scattered across different cities. It's a great way to play with a friend if you're not in the same apartment.
After installing the program, one player creates a new network, assigns it a name and password. The second player must connect to this network using the provided information. Once successfully connected, the program displays the IP addresses of the participants. The host opens a Minecraft world, and the friend enters the host's IP address, as displayed by Hamachi, into the connection menu, ignoring the actual ISP IP address.
The advantage of this method is that it bypasses most NAT and firewall restrictions, as traffic is packaged into a dedicated tunnel. However, it's worth keeping in mind that creating a virtual adapter can slightly increase ping, which is critical in dynamic PvP battles, but is perfectly acceptable for leisurely building and exploring the world.
Optimizing network performance for gaming
To ensure smooth gameplay, it's important to minimize bandwidth usage. When multiple devices are connected to Wi-Fi, they share bandwidth. If someone starts watching a 4K video or downloading large files while playing, Minecraft may experience lag and player teleportation. It's recommended to limit background downloads on all devices on the network.
Use Wi-Fi channels that are least congested by neighboring networks. For the 2.4 GHz band, channels 1, 6, and 11 are optimal because they don't overlap. Switching to a clear channel in your router settings can significantly improve connection stability and reduce packet loss.
⚠️ Please note: When using mobile hotspots (sharing the Internet from your phone), make sure you have an unlimited data plan or a large data package, as syncing the world can require a significant amount of data.
It's also worth paying attention to the router's location. The closer the devices are to the signal source and the fewer physical obstacles (walls, mirrors, microwave ovens) between them, the more stable the connection will be. Metal structures and water tanks (aquariums) strongly absorb radio waves, degrading connection quality.
What should I do if I get the "Outdated server" or "Outdated client" error?
This error means that the players' game versions don't match. The host should check their exact build version (e.g., 1.20.4) and share it with their friends. Everyone else should update the game via the launcher or, alternatively, switch to the required version from the list of available builds.
Is it possible to play over Wi-Fi without a router?
Yes, you can create a hotspot on one of your laptops or smartphones. Other devices connect to this hotspot as if it were a regular Wi-Fi network. The host device will then distribute the internet (if needed) and organize a local network for gaming.
What is the maximum range for Wi-Fi gaming?
The range depends on the router's transmitter power and the number of walls. In open spaces, it can be up to 100 meters, but in an apartment with concrete walls, reliable reception for stable gaming is usually maintained within 15-20 meters from the router.