Using the following code:
HttpListener listener = new HttpListener();
//listener.Prefixes.Add(\"http://*:80/\");
listener.Prefixes.Add(\"http://*:8080/\");
l
I dont know, why the GetContext();
hangs, because there is too less information about what happens with the listerner variable, but the problem with port 80 usually is caused by Skype, because it uses port 80 by default. To fix that, open Skype's preferences, go to advanced->connection and uncheck "Use Port 80 and 443 as an alternative for incoming Connections".