ng2 默认端口号4200 若要配置,用两种方法node
(1)可使用如下命令 ng server --port 4201json
(2)找到node_modules/angular-cli/lib/config/schema.json default值就是默认的端口server