如何將角度端口從 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章