【问题标题】:ngrok and docker, failed to complete tunnel connectionngrok 和 docker,无法完成隧道连接
【发布时间】:2021-02-17 07:03:48
【问题描述】:

我的设置中没有任何更改,并且 ngrok 似乎已停止为我工作。

运行ngrok http -host-header=rewrite launch.localhost:80 通常可以正常工作。

这是我的错误:

The connection to http://d678207f86ae.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address launch.localhost:80.

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

The error encountered was: dial tcp: lookup launch.localhost: no such host

如果我导航到launch.localhost,docker 服务器运行良好。

不太确定您还需要哪些其他信息来提供帮助?

【问题讨论】:

    标签: docker ngrok


    【解决方案1】:

    对我来说,它以前从未运行过,但我遇到了同样的错误

    ngrok http -host-header=rewrite launch.local:80
    

    当我将其更改为时它有所帮助

    ngrok http -host-header=launch.local 80
    

    【讨论】:

      猜你喜欢
      • 2020-10-05
      • 2021-03-17
      • 2017-11-02
      • 1970-01-01
      • 1970-01-01
      • 2020-04-09
      • 2021-03-03
      • 2019-11-12
      • 2017-02-21
      相关资源
      最近更新 更多