修改配置文件:node_modules/@angular/cli/lib/config/schema.json
修改配置文件中serve领域中的default :4200 //这是原本默认的端口号,直接修改即可。