一.现象 当本地同时运行了多个angular项目时,端口占用问题 Port 4200 is already in use. Use '--port' to specify a different port. 二.解决 1.相应找到以下目录 node_modules/@angular/cli/lib/config/ 中的 schema.json 2.搜索到到默认的“4200”(大概509行) 3.把4200 改为其它的没有被占用的端口,如6200 三.总结 一般这种端口是在自身客户端中设置的,优先…
phpstorm进行网页调试的时候,默认是加端口号63342,在配置本地php环境的时候默认端口不一定是63342这个,更多的是系统默认的端口号80,那么问题就出现了,如何在phpstorm中将63342端口改成80端口呢,修改的方法有两种,请看以下截图说明: 1.在菜单栏的”Preferences“下的"Build,Execution,Deployment"下的"Debugger"找到"Built-in server port"即可改变端口号,…