angular run specific ip address code example
Example 1: access angular app outside localhost
ng serve --host 0.0.0.0 --disable-host-check
Example 2: ng serve local network
CLI command
ng serve --host 0.0.0.0
Or add to package.json
"scripts": {
"local-start": "ng serve --host 0.0.0.0"
}