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

webpack-dev-server not configured to allow non-localhost access #5

Open
fp9s5d opened this issue Oct 23, 2016 · 0 comments
Open

webpack-dev-server not configured to allow non-localhost access #5

fp9s5d opened this issue Oct 23, 2016 · 0 comments

Comments

@fp9s5d
Copy link

fp9s5d commented Oct 23, 2016

Update the "npm start" script with "--host 0.0.0.0" so webpack-dev-server listens on all ports instead of just the loopback interface.

"start": "webpack-dev-server --host 0.0.0.0 --inline --content-base src/"

As configured, you can't browse to the page from another machine because it is not listening on external interfaces. Doing all work inside headless ubuntu server VM via ssh and using Chrome/Firefox on different Windows VM.

Webpack Dev Server CLI options

Related issue

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

1 participant