title: Heroku Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
body: <p>I keep getting this error despite trying everything out in internet.
  I'm trying to run my flask application on Heroku.</p>
  
  <p>Below is my ProcFile</p>
  
  <pre><code>web gunicorn -b 127.0.0.1:8000 geeni:app 
  </code></pre>
  
  <p>Below is my geeni.py file.</p>
  
  <pre><code>class ChargeUser(Resource):
      def post(self):
          jsonData = request.get_json(force=True)
          stripeid = jsonData['stripeid_customer']
          currency = jsonData['currency']
          amount = jsonData['amount']
          apiKey = jsonData['api_key']
          try:
              stripe.Charge.create(amount = amount, source=stripeid, currency=currency)
              return jsonify({'Msg':'Charged!'})
          except:
              raise
  
  api.add_resource(ChargeUser,'/')
  if __name__ == '__main__':
      app.run()
  </code></pre>
  
  <p>I've setup my heroku push/login everything and have throughly followed tutorials. No luck..</p>
  
  <p><a href="https://i.stack.imgur.com/CBE6U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CBE6U.png" alt="enter image description here"></a></p>