title: Apache cannot bind :443 address for SSL even though port 443 is unused
body: <p>I recently installed Apache 2.4.20 with SSL enabled using openssl 1.0.2j.</p>
  
  <p>After updating the httpd.conf and httpd-ssl.conf files and trying to start Apache while listening to port 443, I get the following error:</p>
  
  <pre><code>(13)Permission denied: -----: make_sock: could not bind to address [::]:443
  (13)Permission denied: -----: make_sock: could not bind to address 0.0.0.0:443
  no listening sockets available, shutting down
  </code></pre>
  
  <p>Here is what I have for config:</p>
  
  <p>httpd.conf:</p>
  
  <pre><code>Listen 51000
  #Listen 443
  #Secure (SSL/TLS) connections
  Include conf/extra/httpd-ssl.conf
  </code></pre>
  
  <p>httpd-ssl.conf</p>
  
  <pre><code>Listen 443
  </code></pre>
  
  <p>If I comment out this line in the httpd-ssl.conf file, my apache starts up fine:</p>
  
  <pre><code>attempting to start apache
  done
  </code></pre>
  
  <p>However with it I get the socket error every time. </p>
  
  <p>I ran the following as root:</p>
  
  <pre><code>netstat -tlpn | grep :443
  </code></pre>
  
  <p>Returned nothing.</p>
  
  <pre><code>lsof -i tcp:443
  </code></pre>
  
  <p>Returned nothing.</p>
  
  <p>I've read somewhere that only root can bind to addresses below 1024, but I don't know the validity of that statement. Apache is not being run here as root - would that be the issue?</p>