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

App starts on incorrect port #48

Closed
donalmurtagh opened this issue Jan 26, 2018 · 4 comments
Closed

App starts on incorrect port #48

donalmurtagh opened this issue Jan 26, 2018 · 4 comments

Comments

@donalmurtagh
Copy link

According to the README.md in each project, the app should start on port 3000 when you run npm start, but it actually starts on port 8080.

@xidedix
Copy link
Member

xidedix commented Jan 26, 2018

hi @donalmurtagh
you are right, webpack-dev-server is configured by default to listen for connections from localhost on port 8080 (it used to be 3000 - before ejecting from Create React App's build scripts)

@donalmurtagh
Copy link
Author

donalmurtagh commented Jan 26, 2018

@xidedix either the docs or the dev server config should be changed to make them consistent

@xidedix
Copy link
Member

xidedix commented Apr 24, 2018

@donalmurtagh
on v2 we are back to default port 3000 with not ejected create-react-app

@xidedix
Copy link
Member

xidedix commented Jun 21, 2018

I'm closing this since it appears to be answered above.

@xidedix xidedix closed this as completed Jun 21, 2018
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