【问题标题】:Ngrok Server failed to allocate tunnel: Invalid authtoken "token"Ngrok 服务器分配隧道失败:无效的 authtoken “token”
【发布时间】:2016-01-22 23:01:40
【问题描述】:

我在 ngrok 网站上注册并尝试使用命令设置 authtoken

ngrok -authtoken token 4000

并得到以下错误

Server failed to allocate tunnel: Invalid authtoken 'token'.
This looks like an ngrok 2.0 authtoken, but you're using ngrok v1.
Download ngrok 2.0 from https://ngrok.com/download

然后我下载了用于 linux-32 位的 ngrok,因为我使用的是 Linux Mint 17.1 32 位。但仍然得到同样的错误。而我的 ngrok 版本是 1.6。

任何人都可以帮助在这种情况下启动 ngrok 服务器应该做什么。

提前致谢。

【问题讨论】:

    标签: linux token ngrok


    【解决方案1】:

    我也面临同样的错误......编辑~/.ngrok2/ngrok.yml 后它正在工作。 您只需删除 authtoken 行,不要放置任何内容,然后保存此文件并运行此命令,确保您在安装 ngrok 的同一目录中。

    $ ./ngrok  http 80
    

    【讨论】:

      猜你喜欢
      • 2015-03-26
      • 1970-01-01
      • 2019-11-12
      • 2021-04-16
      • 1970-01-01
      • 2021-06-05
      • 1970-01-01
      • 2017-10-08
      • 2021-05-29
      相关资源
      最近更新 更多