Game of Minecraft Playing with friends over a local Wi-Fi network is one of the most convenient ways to survive or create together, whether you're in the same apartment, house, or even adjacent rooms. However, many encounter issues: the router blocks the connection, game versions don't match, or the world simply doesn't appear in the list. This article will help you understand all the nuances—from setting up network equipment to creating a shared world and troubleshooting common errors.
We will consider two main scenarios: connection via a local area network (LAN) without internet and Playing via Wi-Fi with Internet sharing (When one of the players is the host). We'll pay special attention to router settings, as they're the most common cause of problems. If you've never accessed your router's control panel before, don't worry—we'll explain everything in simple terms.
Important: the instructions are valid for Java Edition And Bedrock Edition (including PC versions, Android, iOS (and consoles). However, some steps will differ—we'll note those points separately.
1. What you need to play on Wi-Fi: Checking hardware and versions
Before you begin setting up, make sure you have everything you need. Without it, even the most detailed instructions won't help.
Minimum requirements for playing on a local network:
- 📶 Wi-Fi router with support
LAN-networks (almost any modern one). It is desirable that it operates in the range5 GHz- this will reduce delays. - 💻/📱 Minecraft devices: two or more PCs, laptops, tablets, or smartphones. It is important that they are all connected to the same Wi-Fi network.
- 🔄 Same version of the gameIf you have Java Edition 1.20.4, and at a friend's Bedrock 1.20.30 — You can't connect. Check the versions in the game's main menu.
- 🔌 Stable power supply for the routerIf the router reboots while playing, the connection will be interrupted and the world may become corrupted.
If you play on Java Edition, make sure all players have it installed the same modpack (if you use mods). In Bedrock Edition Mods are synced automatically when connecting to a world.
Also check if yours is blocked Windows Firewall or antivirus network connections. For example, Avast And Kaspersky sometimes interfere with data exchange between devices on a local network. You can disable protection or add Minecraft in exceptions.
2. Setting up a router for Wi-Fi gaming
Most connection issues arise from incorrect router settings. Even if you've never accessed your router's control panel, the following steps will help you configure everything correctly.
What you need to do in the router settings:
- Turn on DHCP server (usually enabled by default).
- Open port 25565 (For Java Edition) or make sure that the firewall is not blocking the local connection.
- Check that all devices are in one subnet (usually it is
192.168.x.x). - Disable isolation of clients (if there is such an option) so that the devices can "see" each other.
How to access router settings:
Open your browser and enter one of the following addresses in the address bar (depending on your router model):
192.168.0.1(the most common)192.168.1.1192.168.8.1(for some models TP-Link And Xiaomi)192.168.100.1(rare, but it does happen)
The login and password are usually indicated on the sticker on the back panel of the router (most often admin/admin or admin/password). If you changed them and forgot, you will have to reset the settings using the button Reset.
Where to find the required settings:
The router interface varies, but the required options are usually found in the following sections:
- 🔧
LANorLocal area network— we check here DHCP And subnet. - 🛡️
FirewallorSecurity- here we disable client isolation (the option may be calledAP Isolation,Client IsolationorGuest network). - 🔄
Port ForwardingorPort forwarding— we open the port here25565(only for Java Edition, if you play online).
If you have a router from a provider (for example, Rostelecom, Beeline, MTS), some settings may be blocked. In this case, contact support and ask them to open a local connection between the devices.
What should I do if my router won't let me change the settings?
Some providers block access to advanced settings. In this case, you can:
1. Buy your own router and connect it to your provider's router in "bridge" mode.
2. Call support and ask them to disable client isolation manually.
3. Use alternative connection methods (for example, Hamachi, but it's more complicated).
3. Creating a world for co-op play
Now that the network is set up, you can begin creating the world. The process varies depending on the version. Minecraft.
For Java Edition (PC/Mac/Linux):
- Launch the game and select
Single player→Create a new world. - Adjust world settings (survival/creative mode, difficulty, etc.).
- After creating the world, click
Esc→Open to local network. - Select a game mode (
Survival,CreationorAdventure) and permissions for other players (whether they can break blocks, use commands, etc.). - Click
Launch the world in LANA message with a port will appear (usually25565).
For Bedrock Edition (PC, smartphones, consoles):
- Launch the game and select
Play→Create a new world. - In the world settings, enable the option
Local area network(orMultiplayer: Onon consoles). - Once a world is created, it will automatically become available to other players on your network.
How to connect to the world:
- 🖥️ In Java Edition: the second player must choose
Network game→Direct connectionand enter the host's IP address (read the next section to find out how to find it). - 📱 In Bedrock Edition: the host's world will appear in the list of available games in the section
FriendsorLocal area network.
☑️ Preparing for a co-op game
4. How to find out the IP address of the host to connect to
For the second player to be able to connect to the world, he needs IP address of the host deviceIt can be found out in several ways.
On Windows:
- Click
Win + R, entercmdand pressEnter. - At the command prompt, enter:
ipconfig - Find the line
IPv4 addressin the sectionWireless LAN adapter(if connected via Wi-Fi) orEthernet adapter(if via cable) Usually it's something like192.168.1.100.
On macOS/Linux:
- Open terminal and enter:
ifconfig | grep "inet " - Find the line with the address starting with
192.168or10.0.
On Android/iOS:
- 📱 Log in
Settings→Wi-Fi. - Click on the name of your network - it will be listed there IP address.
Example of connection in Java Edition:
If the host IP address is - 192.168.1.100, and the port is 25565, then the second player must enter in the connection field:
192.168.1.100:25565
1. Are the IP address and port entered correctly?
2. Is the firewall blocking the connection?
3. Are both devices connected to the same Wi-Fi network?-->
5. Solving common connection problems
Even if you've configured everything correctly, errors can still occur. Let's look at the most common ones and how to fix them.
Issue 1: World does not appear in the list (Bedrock Edition) or does not connect (Java Edition)
- ⚠️ Cause: The devices are on different subnets (for example, one is connected to
2.4 GHz, the other - to5 GHz). - 🔧 Solution: Connect both devices to the same Wi-Fi band. Also, make sure the "Shared Wi-Fi" feature is disabled on your router.
Band Steering(it automatically switches devices between frequencies).
Issue 2: "Unable to connect to server" error (Java Edition)
- ⚠️ Cause: Port
25565another application is closed or busy. - 🔧 Solution:
- Check if another server is running on the host Minecraft.
- Open the port in your router settings (
Port Forwarding). - Temporarily disable Windows Firewall (
Control Panel → Windows Firewall → Turn on or off).
Problem 3: High ping or lag
- ⚠️ Cause: Weak Wi-Fi signal or congested network.
- 🔧 Solution:
- Reconnect to the network
5 GHz(if the router supports it). - Close programs that consume traffic (torrents, streams) on all devices.
- Reduce render distance in the world settings.
- Reconnect to the network
Issue 4: The game crashes when a second player connects
- ⚠️ Cause: Insufficient RAM on the host device.
- 🔧 Solution: Close all unnecessary programs and allocate more memory for Minecraft (in the launcher, in profile settings).
Table: Common mistakes and their solutions
| Error | Game version | Cause | Solution |
|---|---|---|---|
Failed to connect to the server |
Java Edition | Port is closed or IP is invalid | Check the port and firewall, restart the world |
Unable to connect to the world |
Bedrock Edition | Devices on different networks | Connect to the same Wi-Fi network |
Connection refused |
Java Edition | The server is not running | Restart the world with an open LAN |
Waiting time expired |
Any | Weak Wi-Fi signal | Move closer to the router or use a cable |
Incompatible versions |
Any | Different versions of the game | Please update or downgrade to a compatible version. |
6. Alternative ways to play over Wi-Fi
If the standard method doesn't work, you can try alternative options. They're more difficult to set up, but they can sometimes save you in difficult situations.
Method 1: Using Hamachi (Virtual Network)
- 🔹 Suitable if you are not on the same local network (for example, a friend is connected to your Wi-Fi via a repeater).
- 🔹 Requires program installation LogMeIn Hamachi on both devices.
- 🔹 Create a new network in Hamachi, connect to it from both devices, then use the IP from the program to connect to Minecraft.
Method 2: Creating a server on a PC
- 🔹 Suitable for constant play with friends.
- 🔹 Download the official server Minecraft from the website
minecraft.net. - 🔹 Start the server, open the port
25565in the router, and friends will be able to connect using your external IP (you can find it on the website2ip.ru).
Method 3: Using a mobile hotspot
- 🔹 If your router is blocking your connection, you can share Wi-Fi from your phone.
- 🔹 Turn on modem mode on your smartphone, connect both devices to this network.
- 🔹 Cons: High traffic consumption and possible lags.
How to play on Wi-Fi on consoles (Xbox, PlayStation, Switch)?
On consoles, local network play is only possible in Bedrock EditionTo do this:
1. All consoles must be connected to the same Wi-Fi network.
2. The host creates a world with the option enabled Local area network.
3. Other players find the world in the section Friends or Local games.
On PlayStation a subscription may be required PlayStation Plus even for local play!
7. Optimizing the game on Wi-Fi: How to reduce lag
Even if you're connected, the game may lag. Here are some tips to improve performance:
Router settings for stable gaming:
- 📶 Switch to range
5 GHz- it is less loaded and gives lower ping. - 🔄 Turn on
QoS(Quality of Service) in the router settings and set the host device to high priority. - 📡 If the signal is weak, use Wi-Fi repeater or Mesh system.
Minecraft settings to reduce lag:
- 🎮 Reduce render distance to
8-12 chunks. - 🖼️ Turn it off smoothing (
Smooth Lighting) And particle effects. - 🔄 In Java Edition use optimized assemblies, for example, OptiFine or Fabric with the Sodium mod.
Additional tips:
- 🔌 If possible, connect the host device to the router via network cable - this will reduce delays.
- 📵 Close all background programs, especially torrents and streaming services.
- 🔄 Restart your router before playing - this will clear the cache and may improve speed.
8. Security: How to protect your game from strangers
If you're playing on a local network, the risk of being hacked is minimal, but it's still worth taking precautions.
How to protect your world:
- 🔒 In Java Edition When opening a world for LAN, set a password (optional)
Enable cheats→Set password). - 🛡️ In Bedrock Edition enable the option
Invited only(if it is available in your version). - 🔄 Update regularly Minecraft — Older versions may contain vulnerabilities.
What to do if a stranger has entered your world:
- ⚠️ Close the world for LAN immediately (
Esc → Close for LAN). - 🔄 Restart the world with a new seed (this will create a new world, but will get rid of unwanted guests).
- 🛡️ Check your router settings - someone may have connected to your Wi-Fi network.
If you play on an open port (25565) and share your IP address with friends, be sure to use a whitelist. In the file whitelist.json (world folder) specify nicknames of allowed players.
FAQ: Frequently asked questions about playing Minecraft on Wi-Fi
Is it possible to play on Wi-Fi if I have Java Edition, and a friend has - Bedrock Edition?
No, these versions are not compatible with each other. You need to play on one version, or both. Java, or both Bedrock.
Why can't my friend see my world in the list (Bedrock Edition)?
Check:
- Both devices are connected to the same Wi-Fi network.
- Client isolation is disabled on the router (
AP Isolation). - The option is enabled in the world settings
Local area network. - Both players have the same version Bedrock Edition.
How to play on Wi-Fi Android and PC at the same time?
This is possible if:
- Installed on PC and smartphone Bedrock Edition.
- Both devices are connected to the same Wi-Fi network.
- The router has no restrictions on data exchange between devices.
Create a world on one of the devices with the option enabled Local area network, and it will appear in the list on the second one.
Is it possible to play via Wi-Fi without a router (directly between a PC and a laptop)?
Yes, but it's more complicated. You'll need:
- Create ad-hoc network (in Windows via command line).
- Or use Ethernet cable (crossover) for direct connection.
- Manually configure IP addresses on both devices.
It's easier to buy an inexpensive router or use your phone as an access point.
Why do I get the error "Internal Exception: java.net.SocketException" when connecting?
This error occurs in Java Edition and means that:
- Port
25565busy with another application. - A firewall or antivirus is blocking the connection.
- The host's IP address has changed (restart the world).
Solution: Check the port, disable the firewall, restart the game.