经过几天的研究,我成功地通过cloud9将我的应用程序部署到了Heroku。我尝试了$ heroku run rake db:migrate
,但我的应用无法正常工作。我检查了日志以找到
`2018-07-03T02:51:22.372848+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=daeshaun-todo-app.herokuapp.com request_id=104d55d3-6dfa-4153-9729-00f288ed2e10 fwd="100.43.81.126" dyno= connect= service= status=503 bytes= protocol=https
2018-07-03T02:51:25.836597+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=daeshaun-todo-app.herokuapp.com request_id=bbb9dd78-a5f1-45fb-9111-624c68b17c92 fwd="84.201.133.89" dyno= connect= service= status=503 bytes= protocol=http`
我听说您必须更改端口:Why my heroku node.js app is giving at=error code=H10 desc="App crashed" method=GET path="/"?
如何更改端口?