http.ListenAndServe only works for localhost?
<p>I've been successfully making use of </p>

<pre><code>http.ListenAndServe(":80", mux)
</code></pre>

<p>to host my web service in Go. It only appears to work with localhost however.</p>

<pre><code>http.ListenAndServe("192.168.1.83:80", mux)
</code></pre>

<p>This works for specific connections on this address but is there a way to make it work for any ip address on the server?</p>

<p><strong>Edit:</strong></p>

<p>I've checked it with a different port (8080 in this case) and then using ":8080" works as documented.  There appears to be something special about port 80 even when testing on the same machine that means it only actually listens on localhost.</p>

<p>For the avoidance of doubt I'm using Windows and all testing is done on the same physical machine.  I've also checked running with admin privileges and it makes no difference.</p>