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

docker image and linux problem with ng serve #89

Closed
xMase opened this issue Aug 4, 2017 · 1 comment
Closed

docker image and linux problem with ng serve #89

xMase opened this issue Aug 4, 2017 · 1 comment

Comments

@xMase
Copy link

xMase commented Aug 4, 2017

In the current release there is a problem with linux ng serve.
Docker Ng serve by default listen on 127.0.0.1 but the socket is no bound directly to the host machine socket, with the problem that 127.0.0.1:4900 does not answer. To resolve the problem ng serve must be forced to use all interface 0.0.0.0.

in package.json change:
7 "start": "ng serve",
to:
7 "start": "ng serve --host 0.0.0.0",

@TwanoO67
Copy link
Owner

TwanoO67 commented Aug 9, 2017

Thanks for the comment, it's done in develop and will be in the next version

@TwanoO67 TwanoO67 closed this as completed Aug 9, 2017
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