Categories
Angular Node

Force Angular Development Server to use external IP

If you want the Angular Development Server ng to serve at the external IP of your computer to allow external clients to access the app, use following command.

ng serve --host=0.0.0.0 --disable-host-check

Leave a Reply

Your email address will not be published. Required fields are marked *