在Ngrok中启动错误的网关

时间:2019-04-23 13:25:20

标签: docker nginx vagrant localhost ngrok

我有3个使用专用网络IP地址本地安装的应用程序。我想做的是使用ngrok将它们临时放置以进行演示,但是,我得到的门方法很糟糕。有人熟悉Ngrok吗?

我阅读了文档,但是对于Ngrok如何发挥其魔力有些困惑。

我有一个配置文件,其设置如下。

authtoken: <token>
tunnels:
  local-q2a:
    addr: 80
    proto: http
    subdomain: local-q2a

  local-vanilla:
    addr: 80
    proto: http
    subdomain: local-vanilla
web_addr: 0.0.00:4040

我的etc / host文件如下。

 192.168.33.14   local-q2a.org
 192.168.33.13   local-vanilla.org

有人对Ngrok足够了解,以了解我在做什么错吗?

这是它收到的错误

Failed to complete tunnel connection
The connection to http://local-vanilla.ngrok.io was successfully 
tunneled to your ngrok client, but the client failed to establish a 
connection to the local address localhost:80.

Make sure that a web service is running on localhost:80 and that it 
is a valid address.

The error encountered was: dial tcp 192.168.214.143:80: connect: 
connection timed out

0 个答案:

没有答案