与 ngrok 相关的错误

Pra*_*lim 2 linux apache http ngrok

我最近在我的 ubuntu 上安装了 ngrok 1.6 版本。运行命令时 ngrok http 80

我收到以下错误。

You may only specify one port to tunnel to on the command line, got 2: [http 80]

请告诉我这个问题的解决方案。

小智 5

您需要使用相对路径,例如。

./ngrok http 80
Run Code Online (Sandbox Code Playgroud)

代替

ngrok http 80
Run Code Online (Sandbox Code Playgroud)

但对我来说,它表明了这一点:

./ngrok: file or directory doesn't exist
Run Code Online (Sandbox Code Playgroud)