Instead of binding on 0.0.0.0 (which will listen on every interface) let's only listen on localhost. On windows, this both makes the connection Just Work and also prevents the Windows Firewall from blocking the listen (and displaying UI saying it has blocked an application and asking if the user should allow it) |
||
---|---|---|
.. | ||
serve.go |