How to play Minecraft online using a single Wi-Fi router

Multiplayer mode in Minecraft opens up entirely new horizons for building and surviving, allowing you to team up with friends in real time. However, many players encounter difficulties when trying to run the game over a local network using only their home computer. Wi-Fi routerInstead of the desired shared adventure, users often see an empty server list or connection errors, which requires proper technical configuration of the equipment.

The problem lies not in the game itself, but in the interaction between the operating system, antivirus software, and network security settings. Windows or macOSA local area network (LAN) operates by directly transmitting data packets between devices within the same wireless coverage area. To successfully launch a game, all computers or consoles must be on the same subnet and have the correct system permissions. firewall.

In this article, we'll detail the steps for creating a stable connection without using third-party hosting. You'll learn how to properly configure network settings, check IP addresses, and resolve conflicts that block gameplay. Following these instructions will help you transform your home internet into a fully-fledged gaming platform for your group.

Checking network infrastructure and game version

The first step is to ensure that the software is identical on all devices that will participate in the session. Minecraft versions The host (world creator) and clients (connecting players) must match exactly, including the patch number. Even a minimal discrepancy in version numbers, such as 1.20.1 and 1.20.2, will result in an inability to establish a connection or a protocol incompatibility message.

It's also critical to ensure that all devices are connected to the same access point. Homes often have mesh systems or repeaters that create a network with the same name (SSID), but technically represent different segments. If a host is connected to the main router and a friend is connected to a remote range extender in another room, they may be on different subnets, making them "invisible" to each other.

  • 📶 Make sure all devices are using the same Wi-Fi frequency (2.4 GHz or 5 GHz), although modern routers usually combine them into a single network.
  • 💻 Make sure the network type in Windows is set to "Private" and not "Public" to allow devices to be discovered.
  • 🔄 Update the game on all computers to the latest release via the launcher.

⚠️ Note: If you use a mobile hotspot from your phone instead of your home router, the AP isolation feature may block the connection between connected devices. In this case, LAN gaming will not work.

Accounts deserve special attention. Modern versions of the game, especially the Bedrock Edition and the new Java Editions, require account login. MicrosoftPlease ensure all devices are signed in and friends are added to each other's contact lists within the Xbox/Microsoft ecosystem, as this often impacts access rights to local worlds.

Setting up a network profile in the operating system

operating system Windows By default, it applies strict security rules to new connections, classifying them as "Public Networks." In this mode, the system hides the computer from other devices and blocks incoming connections, making it impossible to create local serverTo play, you must manually change the network profile to "Private."

To complete this procedure, open network settings from the taskbar or Start menu. Go to Manage known networks, find the name of your Wi-Fi connection, and edit its profile. The system will then allow data exchange between devices within your apartment or house, opening the necessary ports for gaming traffic.

☑️ Checking Windows network settings

Completed: 0 / 1

In addition to the network profile, it's important to check the sharing settings. In the Control Panel, find "Network and Sharing Center" and go to "Change advanced sharing settings." Here, enable network discovery and file and printer sharing for the current network profile. This will allow the computer to "broadcast" its presence on the network, announcing itself as an available host for the game.

Parameter For the public network For private network (Game)
Network discovery Disabled Included
File sharing Disabled Included
Access to printers Disabled Included
Stream encryption 128-bit 128-bit

After making changes, it is recommended to reboot the network adapter or completely reconnect to Wi-Fi. This ensures that the new security rules are applied correctly and the computer receives an updated IP address on the local network, visible to other users.

Configuring Windows Defender Firewall

Even with the correct network profile, the built-in firewall Windows Defender may block the connection if the game does not have explicit permission. On first launch Minecraft Java Edition or Bedrock The system usually asks for permission to access the network, but users often ignore this window or click "Cancel", which leads to problems later.

To fix this, you need to manually add a rule to the firewall. Open the Windows Defender Firewall control panel and select "Allow an app." Find "Allow an app" in the list. javaw.exe (for Java version) or Minecraft.exe (for Bedrock/Windows 10 version). Make sure both "Private" and "Public" networks are checked next to the executable file.

What should I do if Java doesn't appear in the list?

If you don't see Java in the list of allowed applications, click "Allow another app," then "Browse" and locate the javaw.exe file. It's typically located in C:\Program Files\Java\jdk-version\bin or C:\Program Files (x86)\Java\jre-version\bin. Add it and be sure to check the boxes for access over private and public networks.

If you are using a third-party antivirus (for example, Kaspersky, ESET or Avast), its built-in firewall may take precedence over the system firewall. In this case, rules must be defined in the antivirus interface itself. Antiviruses often have a "Gaming" mode that automatically configures exceptions, but this must be activated manually before starting a session.

⚠️ Important: When adding a rule for Java, make sure the path points to the exact JDK/JRE version used by the Minecraft launcher. If you have multiple versions of Java installed, you must grant permission for all executable files used.

After setting up exceptions, check your protection status. The firewall shouldn't be completely disabled, as this exposes your computer to threats from the outside network. Simply add a specific exception for gaming while maintaining overall system protection.

Troubleshooting LAN World Visibility Issues

The most common problem is when the host has opened a world, but other players on the LAN list can't see them. This is often due to UDP packets, which are used to broadcast server information, being blocked. In such cases, manually connecting via IP address is the most reliable solution.

The game host needs to know their local IP address. To do this, open the command prompt (CMD) and enter the command ipconfigFind the "IPv4 Address" line in the section for your wireless adapter. The address typically looks like this: 192.168.1.X or 192.168.0.XThis is the address you need to share with your friends to connect directly.

📊 What problem do you encounter most often?
The world is not visible in the list
Connection error
The game crashes when I log in.
Lags and high ping

Friends should launch the game, go to the network game, and select the "Direct Connect" option. In the field that opens, enter the host's IP address. If the default port hasn't been changed, just the IP is sufficient. If the host has changed the port in the settings, the address should be entered in the following format: 192.168.1.5:25565.

  • 🔍 Make sure all devices have SMB 1.0 support enabled (for older versions of Windows), although this is rarely required for Minecraft.
  • 🚫 Disable VPN clients on all computers, as they change the network route and hide local addresses.
  • ⚙️ Make sure all users have the same set of mods if you play with mods.

It is important to note that The default port for Minecraft Java Edition is 25565, and this is the one used when creating a LAN world unless otherwise specified. When manually entering the address, make sure you don't use thousands separators or spaces, which could accidentally end up in the clipboard.

Router setup and port forwarding

In most cases, playing within a single apartment doesn't require router configuration, as traffic doesn't travel outside the local network. However, if you have a complex network topology or want to forward ports for stability, you'll need access to the router interface. This is usually available at 192.168.0.1 or 192.168.1.1.

In your router settings, check the "AP Isolation" feature. It should be disabled. When enabled, devices connected via Wi-Fi are prevented from exchanging data with each other, completely blocking LAN gaming. This setting is often enabled by default on guest networks.

It's also worth checking your DHCP address range. Make sure the address pool is large enough to ensure all players receive unique IP addresses. If there are many devices on the network, address conflicts may occur, leading to connection interruptions. A static IP address for the host computer can solve the problem of constantly changing addresses after a router reboot.

⚠️ Note: Router interfaces from different manufacturers (Asus, TP-Link, Keenetic, MikroTik) vary significantly. Function names may vary, so look for sections related to WLAN, Wireless Settings, or LAN Configuration.

If you plan to play regularly, it makes sense to reserve an IP address for the MAC address of your computer's network card in your router's DHCP settings. This ensures that your computer always receives the same address (e.g., 192.168.1.50), and your friends won't have to ask you for a new IP every time they connect.

Alternative methods and server creation

If the standard LAN mode via "Open to Network" is unstable, you can run a full-fledged Minecraft server on your computer. This requires downloading the server file. server.jar From the official website and with minimal configuration. This method is more resource-intensive, but provides better stability and allows you to play even if the host leaves the game (if configured correctly).

To start the server, create a text file, write the Java launch command in it and rename it to start.bat. Command example:

java -Xmx1024M -Xms1024M -jar server.jar nogui
After the first launch, edit the file server.properties, having installed online-mode=false (if there are problems with the license on the local network) and checking the port settings.

Another modern solution is the use of virtual private network technologies such as Radmin VPN, Hamachi or ZeroTierThese programs create a virtual network adapter that emulates a local network over the internet. This is ideal if your friends are in different cities but want to play as if they were connected to the same router.

When using virtual networks, all participants must install the same software, create a group, and connect to it. After that, the connection procedure in the game remains the same—by directly entering the IP address displayed by the emulator. This bypasses most ISP restrictions and router settings.

Frequently Asked Questions (FAQ)

Why can my friends see my world but can't connect to it?

The problem is most likely a firewall or antivirus program blocking incoming connections after the world is detected. Also, check that the game versions and mods match. Sometimes restarting the game on all computers after the host opens the world helps.

Is it possible to play via Wi-Fi between PC and phone (Android/iOS)?

Yes, this is possible, but only in Minecraft Bedrock Edition. Java Edition on PC is not directly compatible with mobile versions without using special bridge plugins (like GeyserMC) on the server. Make sure all devices are running Bedrock Edition.

How do I find out my IP address so my friends can connect?

Press Win+R, enter cmd and press Enter. In the black window, type ipconfigYour local IP will be listed in the IPv4 address line (e.g., 192.168.1.45). This is what you need to enter in the game.

Does internet speed affect LAN gaming?

No, your internet connection speed does not affect the gameplay inside your home. Data transfer speed is limited only by the power of your Wi-Fi router and the distance between devices. Internet access is only required for authorization and texture downloads upon first launch.

What should I do if I get the error "Internal Exception: io.netty.handler.timeout.ReadTimeoutException"?

This error often occurs when the Wi-Fi signal is unstable or when packets are lost along the way. Try moving closer to the router, disabling downloads on other devices, or reducing the render distance in the game settings.