networking - Troubleshooting UWP Network LoopbackExcempt -


i developing uwp application should able accept incomming tcp connections.

i have given following capabilities in package manifest:

  • internet (client)
  • internet (client/server)
  • private networks (client/server)

i using streamsocketlistener windows.networking.sockets

connections other devices established fine.

hovever: i can not connect own device on loopback interface

as per document microsoft, uwp indeed restrict connections on loopback interface, but:

apps installed , run in visual studio automatically registered being exempt loopback restrictions.

this scenario i'm in. , checking debug section in application properties reveals allow local network loopback checked.

i checked loopback excemptions on system via

checknetisolation.exe loopbackexempt -s 

my apps sid appear in list.

a comment under this answer suggested clearing list , adding each entry manually. did not resolve problem.

other things have attempted:

  • changing release version of app (did not help)
  • uninstalling , redeploying app (didi not help)
  • setting fresh project. (did not help)
  • rebooting system. (did not help)
  • using lan ip address instead of loopback address (did not help)
  • bashing head against wall (did not help)

so final question:

how can enable loopback connections uwp app despite doing every step nescessary

has further experience this? there hidden trick need perform can connect local device?

i had come across similar situation, had resolved using fiddler comes tool winconfig in menubar restrict loopbackexempt.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -