Angular Open Poort dans le réseau
ng serve --host 0.0.0.0 --disable-host-check
Zany Zebra
ng serve --host 0.0.0.0 --disable-host-check
ng serve --host 0.0.0.0
ng serve --open --host 0.0.0.0 --disable-host-check
or in angular.json add this config
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "project:build",
"host": "0.0.0.0"
},
CLI command
ng serve --host 0.0.0.0
Or add to package.json
"scripts": {
"local-start": "ng serve --host 0.0.0.0"
}