Windows 10 UWP apps can’t connect to local IP (loopback restriction)

Windows 10 UWP apps by default are restricted from connecting to the local IP (loopback restriction). This can cause issues in specific scenarios. For example, Windows 10 Minecraft UWP app can’t connect to a server hosted on the same PC.

Unable to connect to world

Minecraft for Windows 10
Connecting to external server
Unable to connect to world

To resolve the issue, you need to add the app in question to the Windows 10 loopback exempt list using PowerShell CheckNetIsolation LoopbackExempt command.

  • CheckNetIsolation LoopbackExempt -a -n=”Microsoft.MinecraftUWP_8wekyb3d8bbwe” – add app with the Package Name “Microsoft.MinecraftUWP_8wekyb3d8bbwe” to the loopbakc exempt list.
    To find Package Name, you can use the following PowerShell commands:
    Get-AppxPackage – List all UWP apps
    Get-AppxPackage | Select-String -Pattern “Minecraft” – List all apps that have “Minecraft” in their name.
  • CheckNetIsolation LoopbackExempt -d -n=”Microsoft.MinecraftUWP_8wekyb3d8bbwe” – delete app with the Package Name “Microsoft.MinecraftUWP_8wekyb3d8bbwe” from the loopbakc exempt list.
  • CheckNetIsolation LoopbackExempt -s – show all apps in the loopback exempt list.
  • CheckNetIsolation LoopbackExempt -c  clear the loopback exempt list.

July 2019
Windows 10


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *