How to Play Minecraft on Wi-Fi: Setting Up a Local Network

Multiplayer game in Minecraft Playing with friends is one of the most engaging aspects of the popular sandbox game, allowing you to build worlds and survive together. However, users often encounter difficulties when trying to create a local network over home Wi-Fi, with the game simply unable to detect each other's computers. The problem lies not with the game itself, but with the network settings of the operating system and router, which block a direct connection between devices.

In this guide, we'll explore the technical nuances of setting up a local area network (LAN) server over a wireless connection. You'll learn why antivirus software or network profiles can interfere with the connection, and how to properly configure your router to ensure stable data transfer without lag or interruptions.

To successfully launch a multiplayer session, all devices must be on the same subnet and have valid IP addresses. Ignoring basic network security rules often leads to local area network remains invisible to other players, despite an active Wi-Fi connection.

Network and hardware requirements

Before moving on to software settings, it's worth making sure your hardware and basic network configuration meet the minimum requirements for comfortable gaming. Wireless connections are inherently less stable than wired connections, so the quality of your equipment is critical.

First of all, all devices (PCs, laptops, tablets) must be connected to the same router. If one computer is connected via cable and the other via Wi-Fi, they can still see each other, but only if the router doesn't separate them into different VLANs or guest networks. Wi-Fi guest mode often isolates devices from each other for security purposes, making it impossible to create a LAN server.

It's also important to consider the frequency range. Modern routers operate in the 2.4 GHz and 5 GHz bands. To transmit the large amounts of data generated in Minecraft (especially with mods), it is preferable to use 5 GHz, as this range is less crowded and provides higher throughput.

⚠️ Note: If your router distributes two different SSIDs (network names) for 2.4 and 5 GHz frequencies, make sure all players are connected to the same one. Being in different frequency bands with different network names can sometimes prevent automatic server detection.

You can use built-in diagnostic tools to check signal quality and connection stability. Low signal strength (less than -75 dBm) can cause intermittent lag, known as "tick lag," which slows down gameplay for everyone.

📊 What type of connection do you have to your router?
Wi-Fi 2.4 GHz
Wi-Fi 5 GHz
Cable (LAN)
Mobile Internet

Setting the network type in Windows

One of the most common reasons why computers do not see each other on a local network is an incorrect network profile in the operating system. WindowsBy default, the system assigns new connections the "Public Network" profile, which hides the computer from detection by other devices.

To fix this, you need to change your network profile to "Private Network." This will allow incoming connections and make your PC visible to other players on the same Wi-Fi network. Without this step, Windows Firewall will block connection attempts from outside.

You can change the network type through the system settings. Go to Network and Internet settings, select an active Wi-Fi connection, and switch the profile. The system will then apply the new firewall rules, opening the necessary ports for local data exchange.

  • 🔍 Open the Start menu and go to Settings (gear icon).
  • 📡 Select the “Network and Internet” section, then click on “Wi-Fi”.
  • 🖱️ Click on the name of your current network and in the "Network Profile" section, select the "Private" option.

After changing the profile, it is recommended to restart the computer to ensure the changes take effect. On some corporate or highly secure home networks, these settings may be blocked by group policies.

Check IP addresses and workgroup

For a local network to function properly, all devices must be on the same network segment, meaning they must have IP addresses with the same first three numbers (e.g., 192.168.1.X). If the addresses differ significantly, devices will be physically unable to find each other without complex routing.

It is also important that all computers have the same operating system installed. working groupBy default, this is the WORKGROUP group in Windows. Changing the workgroup name on one of the computers may cause it to disappear from the list of available networks.

You can check your IP address using the command line. Enter the command ipconfig and find the line labeled "IPv4 Address." Write down this address; you'll need it for a direct connection if automatic detection doesn't work.

ipconfig

The table below shows examples of correct and incorrect address configurations for local play:

Device IP address (Correct) IP address (Error) Status
Host (Server) 192.168.1.10 192.168.1.10 Norm
Client 1 192.168.1.15 192.168.0.15 Subnet error
Client 2 192.168.1.20 192.168.1.20 Norm
Client 3 192.168.1.25 10.0.0.5 Different network

If you see that the addresses are in different subnets (for example, 192.168.0.X and 192.168.1.X), check the DHCP settings on the router. One of the devices may be connected to a different router or using a static IP from the old range.

Setting up a firewall and antivirus

Even with the correct network settings, security programs may block the connection. Windows Firewall or third-party antivirus (Kaspersky, ESET, Avast) may perceive the attempt Minecraft create a server as a security threat.

It's necessary to add an exception for Java and the game's executable file itself. Most often, it's not the game itself that's blocked, but the process. javaw.exeBecause Minecraft Java Edition runs through the Java Virtual Machine (JVM), the network won't work without allowing incoming connections for this process.

To configure Windows Firewall, go to Control Panel and find the appropriate section. You'll need to allow the application to access the network. Make sure all network types (private, public, domain) are checked, although private is most important for home gaming.

☑️ Setting up Firewall Exceptions

Completed: 0 / 4

⚠️ Note: If you're using a third-party antivirus, the built-in Windows firewall may be disabled. In this case, you'll need to look for the settings in the antivirus interface under "Firewall" or "Network Protection."

Temporarily disabling your antivirus for diagnostic purposes often helps. If the game works after disabling protection, then the problem lies with your security settings. Don't forget to reactivate the protection after configuring it, adding any necessary exceptions.

Launching the game and connecting players

Once all technical preparations are complete, you can begin playing the game. The host (the world creator) must launch Minecraft, enter a single player game and open the world for a local network through the pause menu.

A message with the port number will appear in the chat, for example: "Local game hosted on port 54321." This port is critical. If automatic server discovery doesn't work, other players can connect manually by entering the host's IP address and this port.

The address format for connection looks like this: 192.168.1.10:54321Note the colon between the IP and port. In Windows 10/11 (Bedrock Edition), the process may differ by the presence of a "Friends" tab, where the server should appear automatically.

  • 🎮 The host opens the world and clicks "Open to LAN".
  • 📝 The host records the 5-digit port number that appears in the chat.
  • 🔌 Other players select "Network Play" and wait for the server to appear in the list.
  • 🆔 If there is no server, players select "Direct connection" and enter IP:Port.

All participants must be running the same game version. If the host is running version 1.20.4 and the client is running version 1.20.1, connecting will be impossible without the use of special mods or cross-version-enabled server software.

What to do if the port keeps changing?

Each time a world is opened for network play, the port is regenerated. To fix the port, you need to use the server.properties file on a dedicated server or mods, but for a regular LAN game, it's easier to check the new port each time in the chat.

Solving common problems and errors

Even if you follow all the instructions, specific errors may still occur. Users often encounter the message "Unable to connect to the world" or an endless connection loop. This may be due to incompatible Java versions or blocked ports in the Wi-Fi adapter drivers.

Try rebooting your router. This simple action often clears the ARP table and resets stuck network sessions that are interfering with connection establishment. It's also worth checking if "AP Isolation" mode is enabled on your router, which prevents devices within the Wi-Fi network from communicating with each other.

If all else fails, you can try port forwarding, although this is rarely necessary for a local network. Make sure the power saving option is disabled in your Wi-Fi adapter's power settings, as it can cause short-term connection interruptions, which are critical for online gaming.

⚠️ Note: Router interfaces and game versions are updated regularly. The location of the "Client Isolation" or "AP Isolation" menu items may vary depending on your hardware model (TP-Link, Asus, Keenetic).

In some cases, resetting Windows network settings helps. The command netsh winsock reset, run as administrator from the command line, returns the network libraries to their original state, eliminating software conflicts.

Why can't the game see other computers on the network?

Most likely, your network profile is set to "Public" or your firewall is blocking Java. Check your network type in Windows settings and add exceptions to the firewall.

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

Yes, if you have Minecraft Bedrock Edition (on Windows 10/11, Android, or iOS). Java Edition doesn't work on phones, so cross-platform play is only possible within the Bedrock ecosystem.

What ping is considered normal for gaming over Wi-Fi?

For comfortable gaming over a local network, ping should be minimal, typically 1-5 ms. If ping is higher than 20-30 ms within a home network, the signal may be too weak or the channel is heavily loaded.

Do you need internet to play on a local network?

No, an internet connection is not required. A router simply providing a Wi-Fi signal and connecting devices to a local network is sufficient. However, to verify the game's license (pirated versions don't require this, while licensed versions may require periodic online connection), internet access may be required upon launch.