Angular CLI - ng serve won't run unless I specify port
I have an application generated with Angular CLI running on a Ubuntu box. When I run: ng serve From the project's root directory, everything works, except that I can't load the load the application in my browser when I navigated to: http://host.domain.tld:4200/ However, when I run: ng serve --host 0.0.0.0 --port 4201 --live-reload-port 49153 Then I the application loads in my browser. How can I configure the application to be accessible on the dev server by just running "ng serve"?
you can go edit your package.json file and change this line: "start": "ng serve", with "start": "ng serve --host 0.0.0.0 --port 4201 --live-reload-port 49153", and then you could just simply run npm start
Missing peer dependencies after installing latest angular-cli: What to do?
angular-cli ng serve : Error: No errors
Getting error after Angular cli update
Does angular-cli uses rollup to do ahead-of-time compilation and adding all into one file?
Angular CLI install error
Using glob for assets in angular-cli throws error
Importing Global SCSS into Component SCSS with Angular-CLI
Error during AOT build with angular-cli 24 and Angular 2.4.1
Add importer to node-sass in angular-cli project
angular-cli#1.0.0-beta.23 (2016-12-15) NOT on npm
Angular cli for existing github project
How to pass config data to NgModule so NgModule will be compiled with AOT
Cloning a repo based on Angular CLI
How can I speed up Angular CLI Live Reload - 1-2 minutes per change
Generating a barrel when calling ng g component <myName>
Setting up tether-drop to work with angular-cli#1.0.0-beta.24