title: Getting Gunicorn to run on port 80
body: <p>I built an API with flask. My app does not have any static assets hence there's no reason for me to use nginx. </p>
  
  <p>I wish to run gunicorn on port 80. </p>
  
  <p>I have a "deploy script": </p>
  
  <pre><code>mkdir .log 2&gt; /dev/null
  DEBUG=0 gunicorn -b 0.0.0.0:80 backend:app --access-logfile .log/access.log --error-logfile .log/general.log
  </code></pre>
  
  <p>I wish to run gunicorn on port 80 with <code>authbind</code>. I followed this <a href="https://mutelight.org/authbind" rel="noreferrer">guide</a> here. </p>
  
  <p><em>Note that I am able to run <code>authbind python -m SimpleHTTPServer 80</code></em></p>
  
  <p>When I try to run <code>authbind ./deployment.run 80</code>, </p>
  
  <p>I am seeing the following error: </p>
  
  <pre><code>2013-04-25 15:32:55 [24006] [ERROR] Can't connect to ('0.0.0.0', 80)
  2013-04-25 15:33:08 [24018] [INFO] Starting gunicorn 0.17.4
  2013-04-25 15:33:08 [24018] [ERROR] Retrying in 1 second.
  2013-04-25 15:33:09 [24018] [ERROR] Retrying in 1 second.
  2013-04-25 15:33:10 [24018] [ERROR] Retrying in 1 second.
  2013-04-25 15:33:11 [24018] [ERROR] Retrying in 1 second.
  2013-04-25 15:33:12 [24018] [ERROR] Retrying in 1 second.
  </code></pre>
  
  <p>Any ideas why I am unable to bind gunicorn to port 80? </p>
  
  <p>Any recommendations? </p>