Game of Minecraft Playing with friends over a local network is one of the most exciting ways to spend time, especially if everyone is in the same apartment, house, or even on adjacent floors. However, many people encounter problems: the server isn't visible, the connection drops, or the game lags. These issues are often due to improper settings. Wi-Fi networks, firewall, or the devices themselves.
In this article we will look at all possible scenarios — from creating a server on a PC to connecting from a phone or console — and we'll also provide specific solutions for common errors. You'll learn how to set up port forwarding on the router, which versions of the game are compatible with each other, and why it is sometimes better to use Hamachi instead of a standard local connection. If you've never set up a network for gaming before, don't worry: we'll explain everything in simple terms, with step-by-step screenshots and proven tips.
Important: If you play through public networks (for example, in a cafe or university), some methods may not work due to administrator restrictions. In this case, you'll have to use alternative solutions—these will also be discussed below.
1. Preparing your devices and network: what to check before playing
Before launching a server or trying to connect with a friend, make sure your network is ready for multiplayer gaming. Here are the key points:
- 📶 All devices are connected to the same Wi-Fi network. Even if the routers are connected in bridge (mode
WDS), this can cause problems - it is better to use one signal source. - 🔄 Disable VPN and proxyThey can block local interactions between devices.
- 🛡️ Check your firewall and antivirusThey often block incoming connections to the game (especially on Windows).
- 🔧 Update your network card driversOutdated drivers can cause lags or connection drops.
If you play on Windows 10/11, open Control Panel → Windows Defender Firewall → Allow an app to interact with and make sure that for Minecraft (And Java, if you play Java Edition) there are check marks in the columns Private And Public networks.
A critical detail: If your router uses double NAT (for example, it's connected through another ISP router), your local Minecraft server may be unavailable to other players. In this case, you'll need to configure it. DMZ or port forwarding on both devices.
2. Wi-Fi gaming methods: which one to choose?
There are several ways to set up a co-op game over the same network. The choice depends on your devices, the game version, and your willingness to tinker with settings. Here are the main options:
| Way | Suitable for | Difficulty of setup | Is internet required? |
|---|---|---|---|
| Local server (LAN) | PC (Java/Bedrock), phones, consoles | Low | No (local network only) |
| Hamachi/ZeroTier | PC (Java Edition) | Average | Yes (to create a virtual network) |
| Realms (official Mojang servers) | All platforms | Very low | Yes (paid) |
| Port Forwarding | PC (any version) | High | No (but router configuration is required) |
For most users, the optimal solution would be local server (LAN) — it doesn't require an internet connection, works reliably, and is supported by all versions of the game. However, if you want to play with friends on a different network, you'll have to use Hamachi or customize port forwarding.
If you play on Bedrock Edition (mobile devices, consoles, Windows 10/11), then the easiest way is to use the built-in function Playing on a local network. For Java Edition you will need to start the server manually or use Hamachi.
3. Setting up a local server (LAN) for Java Edition
If you are playing on PC Java EditionHere are step-by-step instructions on how to create a local server:
- Launch the world in LAN mode:
- Open Minecraft and create a new world or load an existing one.
- Click
Esc, then selectOpen to local network. - In the window that appears, click
Create a LAN world.
- Configure server settings:
- Select a game mode (
Survival,Creativeetc.). - Allow cheats if needed (
Allow Cheats: ON). - Remember the port that is indicated in the message (usually
19132for Bedrock or25565for Java).
- Select a game mode (
- On their devices in Minecraft select
Network Play → Direct Connection. - Enter your PC's IP address (see the next section for how to find it).
Make sure all devices are on the same network|Disable VPN and proxy|Launch a Minecraft world|Open the world to LAN|Remember the connection port-->
If other players don't see your server in the list, try connecting via direct connection, entering your local IP address. You can find it like this:
- On Windows: open
Command lineand enter
, find the lineipconfigIPv4 address(usually192.168.x.x). - On Mac/Linux: in the terminal, enter
orifconfig
.ip a
What to do if the IP address starts with 169.254...?
This means your device hasn't received the correct address from the router. Restart the router and check the DHCP settings in the control panel.
4. Port Forwarding for a stable connection
If you want players from another network (for example, friends from another house) to be able to connect to your server, you will need to set up port forwarding on your router. This will allow you to redirect external connections directly to your PC.
Here's how to do it:
- Find out your PC's local IP address (as in the previous section).
- Reserve this IP in your router settings.:
- Go to your router's control panel (usually at
192.168.0.1or192.168.1.1). - Find the section
DHCP ReservationorIP-MAC binding. - Add your PC to the list to keep its IP address from changing.
- Go to your router's control panel (usually at
- Set up port forwarding:
- Find the section in the router panel
Port ForwardingorPort forwarding. - Add a new rule:
Service name: MinecraftPort (external): 25565 (for Java) or 19132 (for Bedrock)Port (internal): the sameIP address: your local IPProtocol: TCP/UDP (or both)
- Find the section in the router panel
- Go to the website
2ip.ruor similar. - Copy your external IP address - you will need to share it with your friends to connect.
Once configured, friends will be able to connect to your server by entering your external IP in the field Direct connectionHowever, please note:
⚠️ AttentionOpening ports on your router can increase the vulnerability of your network. Make sure you have antivirus and firewall software installed on your PC and update them regularly. Minecraft And Java.
5. Playing over Wi-Fi on phones and consoles (Bedrock Edition)
If you play on Android, iOS, Xbox or Nintendo Switch, the connection process is a little different. In Bedrock Edition There's a built-in feature for playing over a local network, but it doesn't always work reliably. Here's what to do:
- On the host device (the one that creates the world):
- Launch Minecraft and create a new world.
- In the world settings, enable the option
Local area network(usually in the sectionMultiplayer game). - Start the game - the world should become available to other devices on the network.
- Launch Minecraft and go to the section
Play → Friends(orServers). - The local world should appear in the list. If it doesn't, try refreshing the list or restarting the game.
If the world is not displayed, try connecting manually:
- On the host device, find out the local IP (as described above).
- On other devices, select
Servers → Add server. - Enter the host IP and port
19132.
On Xbox And PlayStation Additional network configuration may be required in the console. Make sure the option is enabled in the network settings. Device discovery or Connecting to local networks.
⚠️ Attention: On iOS (iPhone/iPad) due to restrictions Apple Local play may be unstable. If you can't see the world, try disabling it. Personal hotspot and use only Wi-Fi.
6. Solving connection and lag issues
Even after proper setup, errors may still occur. Here are the most common issues and their solutions:
- 🔌 "Unable to connect to the world":
- Check that all devices are connected to one network (not to the guest or other router frequency).
- Make sure that the host device is enabled.
LAN mode. - Restart your router - sometimes it blocks new connections.
- 🐢 Severe lags or crashes:
- Close other programs that use the Internet (torrents, streams).
- Enable it in your router settings.
QoS(Quality of Service) and set the priority for Minecraft. - If you're playing on Wi-Fi, try connecting with a cable (especially on the host device).
- 🔒 "Your connection has been denied.":
- Check your firewall and antivirus software - they may be blocking incoming connections.
- Make sure the port (
25565or19132) is open on the router. - If you use Hamachi, check that all players are connected to the same virtual network.
If the problem persists, try creating a new world with different settings. Sometimes errors occur due to modifications or version incompatibilities.
7. Alternative methods: Hamachi, Realms, and others
If LAN play isn't working or you need to connect to friends on a different network, consider these alternatives:
- 🌐 Hamachi/ZeroTier:
- Creates a virtual local area network over the Internet.
- Suitable for Java Edition.
- Requires registration and installation of the program on all devices.
- ☁️ Minecraft Realms:
- Official servers from Mojang (paid, ~$8 per month).
- Works on all platforms.
- No setup required - just invite friends by nickname.
- 🖥️ Rented server:
- You can rent a server from hosting providers (for example, Hostman, Aternos).
- Suitable for large groups (10+ players).
- Requires minimal knowledge of setup.
If you choose Hamachi, follow these instructions:
- Download and install LogMeIn Hamachi to all devices.
- Create a new network (
Network → Create a new network). - Invite your friends by sending them your network ID and password.
- IN Minecraft connect via
Direct connection, using IP from Hamachi (starts with5.x.x.x).
Realms — the simplest, but paid, method. It's ideal if you don't want to mess with settings but are willing to pay for stability.
8. Network Optimization for Gaming: Router Tips
If you frequently play over Wi-Fi, it's worth optimizing your router settings to reduce lag and connection drops. Here's what you can do:
- 📡 Select the correct Wi-Fi channel:
- Use programs like Wi-Fi Analyzer (Android) or NetSpot (PC) to find the least congested channel.
- In the router settings, set a fixed channel (for example,
6or11for 2.4 GHz).
- 🔗 Enable 5 GHz mode (if supported):
- The 5 GHz frequency is less congested and provides lower latency.
- Please note that the range of 5 GHz is shorter than that of 2.4 GHz.
- ⚡ Set up QoS (Quality of Service):
- Find the section in the router panel
QoSorTraffic priority. - Add a rule for Minecraft, specifying the port
25565(Java) or19132(Bedrock).
- Find the section in the router panel
- 🔄 Update your router firmware:
- Outdated firmware may contain bugs that affect connection stability.
- Check for updates in the section
AdministrationorSystem.
If you have gaming router (For example, ASUS RT-AX88U or TP-Link Archer C5400), use built-in features to optimize games, such as Game Boost or WTFast.
⚠️ Attention: If you have a router from a provider (for example, Rostelecom or Beeline), some settings (for example,QoSorPort Forwarding) may be blocked. In this case, please contact support or use your router in standby mode.bridge.
FAQ: Answers to Frequently Asked Questions
Is it possible to play on Wi-Fi on different versions of Minecraft (Java and Bedrock)?
No, Java Edition And Bedrock Edition are incompatible with each other. However, each version can be played on different platforms:
- Java Edition: PC only (Windows, Mac, Linux).
- Bedrock Edition: PC (Windows 10/11), mobile devices, Xbox, PlayStation, Nintendo Switch.
Make sure all players have the same version of the game (e.g. 1.20.4).
Why can't other players see my world in the list even though we're on the same network?
There may be several reasons:
- The host device is not in the enabled mode.
LAN. - The router is blocking multicast traffic (solution: turn on
IGMP Snoopingin the router settings). - One of the players has a VPN or proxy enabled.
- Different versions of the game are used (even minor updates can cause incompatibility).
Try connecting via direct IP instead of searching in the list.
How to reduce lag when playing over Wi-Fi?
Here are some ways:
- Connect the host device (the one running the world) to the router via cable.
- Reduce
Render Distancein world settings up to 8-12 chunks. - Disable resource packs and mods if they are not required.
- Enable it in your router settings.
QoSand set the priority for Minecraft. - If you play on Bedrock, try reducing the number of mobile entities (
Max Entity Cramming).
Also, check if any players are downloading torrents or watching 4K streams—this could be clogging up your channel.
Is it possible to play on Wi-Fi without internet?
Yes, for the game local area network (LAN) Internet is not required. However:
- All devices must be connected to the same router (or via Hamachi, but then the Internet will be required to create a virtual network).
- To download the game for the first time and check the license, you will still need the Internet (except Bedrock Edition on consoles where the license is linked to the account).
- If your router requires an internet connection to function (for example, to synchronize the time), the game may not launch without an internet connection.
How to play on Wi-Fi on PC and phone at the same time?
This is possible if:
- You are playing Bedrock Edition (PC and phone must have the same version).
- The world is running in the mode on the PC or phone
LAN. - Both devices are connected to the same Wi-Fi network.
Open it on your phone Minecraft, go to Play → Friends and find the local world. If it's not there, try connecting through direct IP (find it out on PC as described above).