"You need to connect to Wi-Fi to play with friends" error in Minecraft: 7 ways to fix

You are trying to start a multiplayer game in Minecraft, but instead of the familiar world you see an annoying message: "You need to be connected to a Wi-Fi network to play with friends.". At the same time, your device is clearly connected to the Internet - the browser is running, the video is loading, and Minecraft stubbornly ignores connectionWhat's the matter?

This error does not occur due to problems with the game itself, but due to the peculiarities of its operation Minecraft network protocols and the settings of your router or device. In 80% of cases, the problem can be resolved in 5 minutes with simple steps—from rebooting the router to changing IPv6 settings. But sometimes, a more in-depth firewall configuration or even a change in connection type is required. In this guide, we'll cover all of these. All current methods for fixing the error for Windows, macOS, Android, iOS, and consoles, including rare cases when the provider or antivirus is at fault.

Important: If you play through Minecraft Bedrock Edition (version for consoles and mobile devices), the solution algorithm will differ from Java Edition for PC. We'll cover both options separately. Also, keep in mind that some methods require administrator rights on the router—if you have a corporate or public network (for example, at a university), some settings may be locked.

1. Check the basics: Wi-Fi vs. Ethernet and connection type

The first thing that is confusing is the error message itself. Minecraft requires exactly Wi-Fi, although your device may be connected via cable (Ethernet) or via mobile internet (4G/5G). This is not a bug, but a feature of the operation. Bedrock Edition:

  • 📶 Wi-Fi is required for cross-platform play (e.g. between PC and Xbox) in Bedrock. Java Edition has no such limitation.
  • 🔌 Ethernet is not recognized as a "network connection" for multiplayer in mobile and console versions of the game.
  • 📱 Mobile Internet (4G/5G) Often blocked by Minecraft servers due to dynamic IP.

If you are playing on PC via Java Edition, but you see this error - the problem lies deeper (see section 3). For Bedrock Edition on consoles or phones:

☑️ What to check first

Completed: 0 / 1

⚠️ Attention: If you use VPN If you're using a proxy server or network, disable it before launching Minecraft. The game may detect virtual networks as an "unstable connection" and block multiplayer.

2. Router setup: ports, UPnP, and IPv6

In 60% of cases the error is related to port blocking on the router or with the protocol disabled UPnP (Universal Plug and Play). Minecraft uses the following ports for multiplayer:

  • 🔢 TCP 25565 — the main port for Java Edition.
  • 🔢 UDP 19132-19133 — ports for Bedrock Edition.
  • 🔢 TCP 443 — used for authentication on Microsoft servers.

To open ports:

  1. Go to your router's control panel (usually at 192.168.0.1 or 192.168.1.1).
  2. Find the section Port Forwarding (port forwarding).
  3. Add rules for the ports above, specifying the local IP of your device (you can find it out with the command ipconfig in Windows or in network settings).
  4. Save the settings and reboot the router.

Also check if it is enabled UPnP:

  1. Find the section in the router panel UPnP or Additional settings.
  2. Activate the option Enable UPnP (if it is turned off).
  3. Apply the changes.
What if UPnP is already enabled but not working?

Some routers (especially those from ISPs) have a flawed UPnP implementation. In this case:

  1. Disable UPnP in your router settings.
  2. Manually forward ports as described above.
  3. If you are playing on PC, check if your Windows firewall is blocking these ports (section 4).

-->

⚠️ Attention: If you have dual-band router (2.4 GHz + 5 GHz), try connecting to the network 2.4 GHzSome devices (especially consoles) don't work well with Bedrock Edition at 5 GHz due to NAT issues.

3. IPv6 Issues: Why Minecraft Doesn't Like It

Minecraft (especially Bedrock Edition) is poorly compatible with the protocol IPv6If your ISP uses it by default, the game may not detect your network connection. Check this:

  1. On Windows: Open Command line and enter ping -6 google.com.
  2. If the ping works, you have IPv6 active.
  3. If there is no ping, but it is normal ping google.com works - IPv6 is disabled (this is good for Minecraft).

To disable IPv6 on your router:

  1. Go to your router control panel.
  2. Find the section LAN or Local area network.
  3. Disable the option IPv6 (may be called Enable IPv6 or IPv6 Support).
  4. Save the settings and reboot the router.

If you can't disable IPv6 on your router (for example, on your ISP's network), do it on the device itself:

  • 🪟 Windows: Control Panel → Network and Internet → Network and Sharing Center → Change adapter settingsRight-click on your connection → Properties → uncheck Internet Protocol version 6 (TCP/IPv6).
  • 📱 Android/iOS: You can disable IPv6 only through special applications (for example, NetGuard), but it’s easier to use another network.
📊 Does your router support IPv6?
Yes, and it's on.
Yes, but I turned it off.
No, only IPv4
Don't know

4. Firewall and antivirus: who blocks Minecraft?

Often the error occurs due to blocking network activity From the Windows firewall or antivirus. Check this:

  • 🛡️ Windows Firewall:
    1. Open Control Panel → Windows Firewall → Allow an app to interact with the app.
    2. Find in the list Minecraft (or javaw.exe For Java Edition).
    3. Make sure the columns for it are checked. Private And Public.
  • 🦠 Antivirus: Temporarily disable it and try running the game. If it works, add Minecraft in exceptions.
  • For Bedrock Edition On Windows 10/11, also check:

    1. Open Settings → Privacy → Background Apps.
    2. Find Minecraft in the list and enable permission to run in the background.

    ⚠️ Attention: If you use Avast, Kaspersky or ESET NOD32, check the settings firewallThese antiviruses often block P2P connections that are used Bedrock Edition for playing on a local network.

    5. Problems with your Microsoft account and license

    IN Bedrock Edition required for multiplayer Microsoft account with a valid license. If you see an error about connecting to Wi-Fi, but:

    • 🔄 The game crashes when I try to log in to my account,
    • 📛 The message "Failed to verify license" appears,
    • 🔒 You are asked to re-enter your password,

    The problem lies in authorization. Solutions:

    1. Log out and log back in to your account:
      1. Open Minecraft.
      2. Click on the profile icon in the upper right corner → Exit.
      3. Please sign in again using your Microsoft credentials (not Mojang!).
    2. Check your Xbox Live subscription:
      1. For playing on consoles or through Bedrock An active subscription is required on PC. Xbox Live Gold (for consoles) or a free account Xbox Network (for PC/mobile).
      2. Go to account.xbox.com and make sure your subscription is active.
    3. Reset the license cache:
      1. On Windows: Open Settings → Apps → Apps & features.
      2. Find Minecraft, click Advanced options → Reset.
      3. Restart the game.

    ⚠️ Attention: If you purchased the game from a non-official store (for example, G2A (or another marketplace), the license may be linked to a different account. In this case, multiplayer will not work.

    6. Alternative connection methods: mobile hotspot and LAN

    If nothing helps, try bypassing network restrictions:

    Way For which devices Pros Cons
    Mobile hotspot Any (PC, consoles, phones) Bypasses router restrictions, works with Bedrock Traffic is transmitted via mobile internet, lags are possible.
    LAN cable + adapter Consoles (Xbox, PlayStation), PC Stable connection, low ping Requires a Wi-Fi to Ethernet adapter for consoles
    Hamachi/ZeroTier PC (Java Edition) Works without opening ports on the router Complex setup, possible NAT issues
    Local area network (without internet) PC, consoles on the same network Does not require Wi-Fi connection Only works for devices on the same network

    To create a local game without Wi-Fi (for example, via cable):

    1. On PC with Java Edition:
      1. Launch the world in mode Open to local network (Esc → Open to the web).
      2. Other players should connect to your local IP (you can find it out with the command ipconfig).
    2. On consoles:
      1. Use the function Local multiplayer (requires a second gamepad).
      2. To play online without Wi-Fi, connect the consoles via LAN cable to one router.

    7. Rare cases: problems with the provider or DNS

    If you have tried everything, but the error remains, the problem may be on the side:

    • 🌍 Provider: Some operators block P2P connections or ports used by Minecraft.
    • 🔗 DNS servers: Incorrect DNS may interfere with connection to Microsoft servers.
    • 🔄 NAT type: if you have Strict NAT (Type 3), online play will not be possible.

    To check and fix:

    1. Change DNS:
      1. On your router or device, set up Google DNS (8.8.8.8 And 8.8.4.4) or Cloudflare (1.1.1.1).
      2. Instructions for Windows: Control Panel → Network → Change adapter settings → IPv4 Properties.
    2. Check NAT type:
      1. On Xbox: Settings → General → Network Settings → Check NAT Type.
      2. On PC: Use the test on the website natcheck.net.
      3. If NAT Strict, contact your provider or set up Port Forwarding (section 2).
    3. Call your provider:

      Check if they have blocked ports. 25565 (Java) and 19132-19133 (Bedrock). Some providers (eg, Rostelecom or Beeline) limit P2P traffic.

    ❓ Why does Minecraft require Wi-Fi if I'm connected via cable?

    This is a limitation Bedrock Edition for cross-platform play. Java Edition There is no such requirement. Solution: use Wi-Fi or create a local network via cable (section 6).

    ❓ I'm playing on PC using Java Edition, but I still see an error. What should I do?

    Check:

    1. Is the port open? 25565 on the router.
    2. Is the firewall blocking it? javaw.exe.
    3. Is the license active (multiplayer does not work for pirated versions).

    ❓ Multiplayer isn't working on my console (Xbox/PlayStation). What's wrong?

    For consoles you need:

    1. Active subscription Xbox Live Gold (for Xbox) or PlayStation Plus (for PS).
    2. Connection via Wi-Fi (Ethernet is not supported for Bedrock).
    3. Open ports UDP 19132-19133 And TCP 443.

    ❓ Is it possible to play on a local network without Wi-Fi?

    Yes, but with restrictions:

    • 🪟 PC (Java Edition): via function Open to local network (works via LAN cable).
    • 🎮 Consoles: only via a second gamepad (split screen) or special LAN adapters.
    • 📱 Mobile devices: Wi-Fi Direct or hotspot required.

    ❓ After a Windows update, the multiplayer stopped working. What should I do?

    Updates often reset firewall settings. Check:

    1. Permissions for Minecraft in the firewall (section 4).
    2. Settings UPnP on the router (sometimes Windows updates throw them off).
    3. Network card drivers are up to date (update via device Manager).