c# why does HttpListener require admin rights (or run netsh as admin) but ASP.Net doesn’t?
When starting an HttpListener in Windows 10, an HttpListenerException is thrown if the address is not “localhost:xxxx”. This can be circumvented by running the command netsh http add urlacl url=192.168.. user=…… as an admin, or starting the server itself as admin, however, no such thing is necessary when running an ASP.Net server.