ng serve host on current ip code example
Example 1: angular open poort in network
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"
}