Open chrissyast opened 4 years ago
Foreman is not running the port I expected, i.e. the same port as when I run the same command outside of foreman
From terminal
cd draw-front yarn dev
Result Your application is running here: http://localhost:8080
Your application is running here: http://localhost:8080
Through foreman
Procfile:
frontend: cd draw-front && yarn dev foreman start
Same as when running yarn dev from terminal
Your application is running here: http://localhost:5101
I think that you can specify using -p what port you want to run. foreman start -p 8080 for example.
-p
foreman start -p 8080
Problem:
Foreman is not running the port I expected, i.e. the same port as when I run the same command outside of foreman
Steps to reproduce
From terminal
Result
Your application is running here: http://localhost:8080
Through foreman
Procfile:
Expected outcome:
Same as when running yarn dev from terminal
Actual outcome:
Your application is running here: http://localhost:5101