I'm working on an app that uses HttpListener()
extensively. So far I've been doing all my testing on an actual network, but I'm pretty sick of this now.
I've tried the usual suspects (localhost, 127.0.0.1) with the correct port, but nothing happens.
Is there a setting in Windows somewhere? (Is it obvious I'm a *nix boy normally?)
Both
localhost
and127.0.0.1
should work fine.I suspect you have a firewall (such as Windows Firewall) that's preventing connections on your local box. Disable it while you're doing your testing.