When I listen on a port on localhost, Windows will popup a dialogue in which the user must add my program to the list of firewall exceptions. This is annoying, and requires administrator-rights, which the user may not have.
Why does Windows do this for loopback connections (127.0.0.1) and is there some trick to prevent this?