ngrok 错误:隧道“command_line”指定无效或格式错误的地址

问题描述 投票:0回答:0

我目前正在 8080 端口上运行本地网页,就像这样

localhost:8080/viewer/ 

我想快速分享网页给同事,所以我下载了

ngrok

虽然我可以使用命令

ngrok http 8080
为 8080 设置链接 - 这不是显示的正确页面。我需要
ngrok http 8000/viewer/
但是当我尝试时我得到
ERROR:  Tunnel 'command_line' specifies an invalid or malformed address '8080/viewer/': strange hostname

我怎样才能克服这个问题以显示正确的页面?

command-line localhost port ngrok
© www.soinside.com 2019 - 2024. All rights reserved.