如何将角度端口从 4200 更改为任何其他端口 - How to change angular port from 4200 to any other

问题:

I want to use 5000 instead of 4200.我想使用 5000 而不是 4200。

I have tried to create a file on root name ember-cli and put JSON according to the code below:我试图在根名称ember-cli上创建一个文件,并根据以下代码放置 JSON:

{
   "port": 5000
}

But my app still runs on 4200 instead of 5000但是我的应用程序仍然在 4200 而不是 5000 上运行


解决方案:

参考一: https://en.stackoom.com/question/2kqT3
参考二: https://stackoom.com/question/2kqT3
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章