windows - 带 Vagrant 的 Ngrok 在 Windows 10 中不起作用

标签 windows vagrant ngrok tunnel

我正在尝试通过 ngrok 公开我的本地服务器。我正在使用 vagrant 在我的本地服务器上运行我的项目,所以,我读到有一个用于 vagrant 和 ngrok 的插件,“vagrant share”。我已经下载了 ngrok,但是当我运行命令 vagrant share 时,结果是这样的:

The executable 'ngrok' Vagrant is trying to run was not found in the PATH variable. The 'ngrok' executable is required to run Vagrant share. If 'ngrok' is currently installed in a non-standard location, append that location to the PATH variable and run this command again.

我已经将 ngrok 放入环境变量中,但它不起作用。

知道如何解决吗?我已经解决这个问题好几天了,但我无法解决它。

最佳答案

您是否尝试过手动安装 vagrant share 插件?

vagrant plugin install vagrant-share

关于windows - 带 Vagrant 的 Ngrok 在 Windows 10 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60013321/

相关文章:

mysql - Laravel Vagrant SQL 备份

Cloudflare 隧道 RDP 连接

meteor - 如何将 ngrok 与 Google Oauth 结合使用?

networking - 如何在同一个工作站上使用多个 ngrok 帐户?

c++ - 如何在 Windows 中为 C++ 安装 hadoop?

postgresql - 使用 puppet 通过 VM 中的设置脚本初始化 postgresql 数据库

vagrant - 在 vagrant guest 中使用来自主机的 ssh 私钥

c++ - 自定义窗口断言 - 禁用按钮 "retry"

windows - 在后台运行 PuTTY -m(不需要窗口)

windows - 为什么 cygwin 不读取我的主目录中的 .ssh/config 文件?