I just ended the tutorial of Angular 2 and I can\'t find a way to change the localhost port from 3000 to 8000. In my package.json file there\'s the line \"sta
package.json
\"sta
If want to change port number in angular 2 or 4 we just need to open .angular-cli.json file and we need to keep the code as like below
"defaults": { "styleExt": "css", "component": {} }, "serve": { "port": 8080 } }