Can't bind to port 80
<p>I'm using Windows 10 and Visual Studio 2016. I can't bind to port 80. I can bind to all other ports. The error printed is: "Bind of IP address 0.0.0.0 returned an error, port 80: No error"</p>

<p>Here is my code:</p>

<pre><code>/*  bind this socket to the server's Internet address */
if( bind(fd,(struct sockaddr *)server_addr,sizeof(struct sockaddr_in))&lt;0 )
{
    printf("Bind of IP address %s returned an error, port %d: %s\n",
        inet_ntoa(server_addr-&gt;sin_addr), ntohs(server_addr-&gt;sin_port),
        strerror(errno));
    //close(fd);
    return -1;
}
</code></pre>