Angular Js: ng serve doesn’t listen remote machine

If you are working on Angular Js and trying to run it form remote machine, you will face this issue of site not opening.

ng serve

above command binds to 127.0.0.1 with port 4200 by default.

In order to open this up for all IP address you can use below command while running ng serve.

Leave a Reply

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