question

Sadegh-8410 avatar image
0 Votes"
Sadegh-8410 asked Sadegh-8410 commented

UWP app not working properly on other PCs except mine

UWP app is using local network to connect to a Digital Billboard. It does'n connect to Billboard on other PCs. Except mine that I built the app on that. And also works fine on a fresh windows 11 preview.
I checked the app in Firewall. And compiled with x64 and x86 with its SDKs but same result.
It seems it's missing some requirements but I don't know what things.
Thanks in advance.

windows-uwp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

pesmith avatar image
1 Vote"
pesmith answered Sadegh-8410 commented

Maybe try enabling the [privateNetworkClientServer][1]? By default apps can't access the local network.



[1]: https://docs.microsoft.com/en-us/windows/uwp/networking/networking-basics

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks it works. I wonder why it works in windows 11 without any changes in Capability settings.

0 Votes 0 ·
NicoZhu-MSFT avatar image
2 Votes"
NicoZhu-MSFT answered

Hello, Welcome to Micorosoft Q&A,

UWP app is using local network to connect to a Digital Billboard.

The problem is the app enable network loopback default, If you run it with visual studio.

118809-image.png

If you installed the app by sideload way to other machine, please refer this document to enable app network loopback manually.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (9.9 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.