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

Allow bind Webpack to 0.0.0.0 #137

Closed
mauricioklein opened this issue Jul 23, 2016 · 6 comments
Closed

Allow bind Webpack to 0.0.0.0 #137

mauricioklein opened this issue Jul 23, 2016 · 6 comments

Comments

@mauricioklein
Copy link

As far I've seen, npm start start webpack serving from localhost:3000.

It would be nice an option to bind IP 0.0.0.0 to webpack, like the option --host 0.0.0.0 Webpack already accept today.

This is specially useful when starting server from inside a Docker container: even mapping the port 3000 to localhost, Webpack doesn't accepts connections from outside the container.

@mxstbr
Copy link
Contributor

mxstbr commented Jul 23, 2016

This will be doable with #128!

@gaearon
Copy link
Contributor

gaearon commented Jul 23, 2016

Yep, we’ll probably go with #128—just want to make some other things work there first.

@gaearon
Copy link
Contributor

gaearon commented Jul 23, 2016

#128 should have fixed this.
Will be out in next release.
(We might wait a week before doing it so we accumulate some fixes.)

@gaearon gaearon closed this as completed Jul 23, 2016
@mauricioklein
Copy link
Author

Ok, thanks for the quick feedback guys.
Outstanding work :)

@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

This should be fixed in 0.2.0 alpha, mind giving it a spin to confirm? Here's how: #190

@joemillervi
Copy link

It seems that it is now public by default but you may have a flag in your package.json {private: true} that you need to set to false.

@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants