I'm writing a very simple web server with C#. Since this is NOT for
actual use, I won't permit connection from other than the computer
it's running on. But, when I run it, Windows Firewall askes me if I
want to unblock it. Of course, I can simply click Keep blocking, but I
just don't want to show this to any users who will use this server for
testing.
The ASP.NET development server seems to be doing the same thing
(allowing localhost only), and desn't show Windows Firewall dialog.
In short, is it possible to somehow let Windows this connection is for
localhost only so it doesn't need to popup the Windows Firewall
dialog, and Keep blocking automatically (without asking)?