问题
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