ddollar / foreman

Manage Procfile-based applications
http://ddollar.github.com/foreman
MIT License
6.01k stars 630 forks source link

Different port chosen through foreman vs yarn dev from terminal #751

Open chrissyast opened 4 years ago

chrissyast commented 4 years ago

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

cd draw-front
yarn dev

Result Your application is running here: http://localhost:8080

Through foreman

Procfile:

frontend: cd draw-front && yarn dev
foreman start

Expected outcome:

Same as when running yarn dev from terminal

Actual outcome:

Your application is running here: http://localhost:5101

tzipisheinin commented 3 years ago

I think that you can specify using -p what port you want to run. foreman start -p 8080 for example.