angular4 项目设置端口号 一般项目默认的端口号是4201 .angular-cli.json文件中: "defaults": { "styleExt": "scss", "component": {}, "serve": { "port": 4600 //设置默认端口号 } }