Usually, during the web-development using Angular it's require for the project to be run locally but what if we want to access our project from other devices, can we do that with Angular?
The answer is of course we can! with Angular we can also grant access to other devices BUT you need to make sure that the external devices is within the same network as your project host (localhost).
As we all know, when we want to run our project in Angular we just need to open the terminal in our code editor or whatever terminal your usually use and run the command below right?
But if you want to access the project from other devices within the same network you only need to run:
- and done! you now only need to enter the URL below from other devices within your network to access to your localhost by specify your Ip Address and the Angular project port.