C# HttpListener and Windows Firewall
问题 One of the programs i am working on has a built in webserver, meant to only handle very specific requests (static). Unlike a TcpListener, when the HttpListener is started, The user is NOT prompted to allow which networks the program is allowed to listen on. This is causing a big issue as the program needs to listen for remote connections, which are now being denied by the windows firewall. If i make a new rule in the windows firewall, and select my program under "Programs and Services",