ng serve method ip not open in another machines
OS?
Windows 8
Versions.
Could not start watchman; falling back to NodeWatcher for file system events. Visit http://ember-cli.com/user-guide/#watchman for more info. angular-cli: 1.0.0-beta.16 node: 6.6.0 os: linux ia32
After instal angular-cli for below step
npm install -g angular-cli
ng new PROJECT_NAME
cd PROJECT_NAME
After given below command
ng serve
http://localhost:4200 and http://127.0.0.1:4200 is working on same machine only if i open that machine ip with other machine means not opening. How to open the webpage in another machines, like that machine ip is 10.88.186.126 means how to open this url http://10.88.186.126:4200 in other machines browsers in the N/W.
Run angular 4 project with this cmd ng serve --host yourIPaddress i.e. ng serve --host 192.168.33.178
I get the option '--disable-host-check' is not registered with the serve command. Run `ng serve --help` for a list of supported options.
You guys are superb, i am noob in angular, been looking this answer for few days. Thanks a lot :)
"serve": { "host": "0.0.0.0", "port": 4201 }
I want to know Angular CLI: 6.2.1 how to config the angular.json ?
on "serve" put somthing like "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { "host": "0.0.0.0", "browserTarget": "m3front:build", "proxyConfig": "proxy.conf.json" }, "configurations": { "production": { "browserTarget": "m3front:build:production" } } } .....
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.