0
web: java -Dserver.port=$PORT $JAVA_OPTS -jar target/project-0.0.1-SNAPSHOT.jar

my procfile looks like this. deploy to heroku was successful but still get error how my proc file should look like?

https://github.com/SangYoo1324/BlogProject/blob/master/procfile this is my git hub address for the whole source code

Samuel Yoo
  • 21
  • 2
  • It has got to do with the assignment of the right `PORT` to your web application. You will just have to use the `PORT` that Heroku will assign to your `APP` instead by changing the Proclife file to [this](https://stackoverflow.com/questions/42019551/python-flask-heroku-application-error) – Gautam Chettiar Nov 04 '22 at 01:58

0 Answers0