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.
Why?
Is it possible to use whatever the backing library for ASP.Net is, but without all the extra framework, in Windows 10?
I tried looking into the Kestrel server and its backing msquic, however in QUIC support in.Net it states that the only supported desktop windows platform is 11 (and System.Net.Quic.QuicListener.IsSupported returns false for me). So what gives?
6