[英]ionic serve external disappeared
我的“離子服務”不再提供“外部網址”。 只能訪問“本地(本地主機:8100)”。 Ionic3 和 Ionic4 都有同樣的問題。
$ ionic serve
然后
[INFO] Development server running!
Local: http://localhost:8100
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
我想要這個結果。 (外部網址)
[INFO] Development server running!
Local: http://localhost:8100
External: http://172.30.5.17:8100
Use Ctrl+C to quit this process
[INFO] Browser window opened to http://localhost:8100!
只是ionic serve --external
:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.