Angular5: Deploying Angular application to multiple clients locally
Angular5: Deploying Angular application to multiple clients locally
How can I run AngularJS for multiple clients locally with LAN wires?
Give instruction how to do it
my question is on angular5
– MAK
Sep 4 '18 at 19:16
Angularjs stands for angular == 1.
– IsraGab
Sep 4 '18 at 19:22
1 Answer
1
I assume you are asking about accessing to your local build from other machines in your network for developing purposes.
Run command:
ng serve --host=0.0.0.0
ng serve --host=0.0.0.0
Where 0.0.0.0 is IP of your machine.
In case you get "Invalid Host Header" error, use ng serve --host=0.0.0.0 --disable-host-check
ng serve --host=0.0.0.0 --disable-host-check
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Is your question about angularjs or angular5?
– IsraGab
Sep 4 '18 at 18:27