Closed
Description
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.
Activity
mxstbr commentedon Jul 23, 2016
This will be doable with #128!
gaearon commentedon Jul 23, 2016
Yep, we’ll probably go with #128—just want to make some other things work there first.
gaearon commentedon 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.)
mauricioklein commentedon Jul 23, 2016
Ok, thanks for the quick feedback guys.
Outstanding work :)
gaearon commentedon Jul 27, 2016
This should be fixed in 0.2.0 alpha, mind giving it a spin to confirm? Here's how: #190
joemillervi commentedon Feb 20, 2018
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.