How to Allow Minecraft Through Firewall Windows 10: A Step-by-Step Guide

If Minecraft multiplayer or a local server is being blocked on Windows 10, allow the legitimate Minecraft or Java application through Microsoft Defender Firewall instead of disabling the firewall. The exact executable depends on whether you use Minecraft for Windows, Java Edition, or a dedicated server.

Allow Minecraft through Microsoft Defender Firewall

  1. Open Windows Security and go to Firewall & network protection.
  2. Select Allow an app through firewall.
  3. Choose Change settings with an administrator account.
  4. Find the relevant Minecraft, Minecraft Launcher, Java, or server entry. If it is absent, add the legitimate executable from its installed location.
  5. Allow it on the network profiles actually required. For a home LAN, that usually means the trusted private network rather than every public network.
  6. Save the change and test the connection again.

Do not open ports unless the scenario requires it

Simply playing Minecraft as a client normally does not require manually forwarding router ports. Hosting a server for connections from outside your home is a different task and can require router configuration, firewall rules, and additional security considerations.

Check the error before changing security settings

Sign-in failures, Microsoft/Xbox account restrictions, server outages, version mismatches, and network problems can look like firewall trouble. If allowing the correct app makes no difference, restore unnecessary firewall changes and investigate the actual error message.

Keep the Windows host supported

Standard Windows 10 support ended October 14, 2025. If this gaming PC supports Windows 11, migrating the host is preferable to weakening security controls on an aging Windows installation.

If the game was installed through an official launcher, verify or repair its files there before creating increasingly broad firewall exceptions. A damaged installation is not fixed by allowing more network access.

Private and public network profiles matter

Windows applies different firewall rules depending on the network profile. A home network you control can normally be classified as private, while coffee-shop, hotel, and other untrusted networks should remain public. Do not mark an unknown network private merely to make Minecraft connectivity easier.