Minecraft can’t connect to a server on the same computer on Windows

Windows UWP apps have some restrictions on what they are allowed to do by default. Unfortunately, this includes connecting to things on localhost.

To lift this restriction from Minecraft, launch Windows PowerShell as an administrator and run the following:

CheckNetIsolation LoopbackExempt -a -n="Microsoft.MinecraftUWP_8wekyb3d8bbwe"

If everything goes well, you’ll see a message: OK. You should now be able to connect (you may need to close and reopen the game).


This is not required to connect to all servers. You only need to do this if you’re connecting to a server on the same computer that you’re running Minecraft on.