I am doing a Heroku tutorial and web: python manage.py runserver 0.0.0.0:$PORT
creates the error when I run heroku local
or heroku local -p 5000
(or one of several more variants). However, web: python manage.py runserver 0.0.0.0:5000
works fine. I suspect I am making a simple error with how to pass an environment variable into the Procfile.
The error message is: CommandError: "0.0.0.0:$PORT" is not a valid port number or address:port pair.