Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrissyast opened this issue Jan 28, 2020 · 1 comment
Open

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

chrissyast opened this issue Jan 28, 2020 · 1 comment

Comments

@chrissyast
Copy link

chrissyast commented Jan 28, 2020

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants