Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 90 seconds of launch

限于喜欢 提交于 2019-12-30 13:27:02

问题


I am trying to deploy my Spring Boot Application to Heroku but I keep getting:

2018-05-06T14:41:35.181889+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 90 seconds of launch
2018-05-06T14:41:35.182093+00:00 heroku[web.1]: Stopping process with SIGKILL
2018-05-06T14:41:35.482221+00:00 heroku[web.1]: Process exited with status 137
2018-05-06T14:41:35.496155+00:00 heroku[web.1]: State changed from starting to crashed

I've seen some answers which tell me so place

server.port=${PORT:8080}

in my application property but it is still not working.

I don't see anything else what I can do and there's no further output that could hint me to the root of the problem.

Any ideas?

来源:https://stackoverflow.com/questions/50200946/error-r10-boot-timeout-web-process-failed-to-bind-to-port-within-90-second

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!