Double click on the Package.appxmanifest file in your project.
Click on the “Capabilities” tab. Add the Private Networks capability to your project.
Double click on the Package.appxmanifest file in your project.
Click on the “Capabilities” tab. Add the Private Networks capability to your project.