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"
},