.NET HttpListener: when registering both HTTP & HTTPS I get "conflicts with an existing registration
- by Greg
I'm trying to use .NET HttpListener in a C# project. When I register my prefix "http://*:8080/" it does not seem to work for HTTPS urls (i.e. doesn't pick them up). When I try the following code to register both the HTTP and HTTPS versions of the prefix however I get the error:
"Failed to listen on prefix 'https://:8080/' because it conflicts…