title: I'm trying to deploy a node server to heroku and I'm getting this error: throw er; // Unhandled 'error' event
body: <p>I'm trying to deploy a node app to heroku and it looks like judging from other questions that heroku is dynamically assigning a port and it is somehow incompatible with something.</p>
  
  <p>(I had to remove some details to post the question)</p>
  
  <pre><code>events.js:182
  throw er; // Unhandled 'error' event
         ^
  
   Error: listen EACCES 0.0.0.0:80
       at Object._errnoException (util.js:1041:11)
       at _exceptionWithHostPort (util.js:1064:20)
       at Server.setupListenHandle [as _listen2] (net.js:1305:19)
       at listenInCluster (net.js:1370:12)
       at Server.listen (net.js:1466:7)
       at Function.listen (/app/node_modules/express/lib/application.js:618:24)
       at Object.&lt;anonymous&gt; (/app/index.js:9:21)
       at Module._compile (module.js:573:30)
       at Object.Module._extensions..js (module.js:584:10)
       at Module.load (module.js:507:32)
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! TFP@1.0.0 start: `node index.js`
   npm ERR! Failed at the TFP@1.0.0 start script.
  </code></pre>