无法使用 ngrok 完成隧道连接错误

时间:2021-04-27 04:38:32

标签: firewall ngrok

Failed to complete tunnel connection
The connection to http://cc1e064782fc.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 [::1]:80: connectex: No connection could be made because the target machine actively refused it.

嗨,我在设置 ngrok 时遇到了这个错误,我也禁用了防火墙。

看看我向您展示错误的视频。 https://youtu.be/uP4B79w4s7c

1 个答案:

答案 0 :(得分:0)

这是一条消息,表示 ngrok 在端口 80 上成功创建了到您的 PC 的隧道,但是您的操作系统中没有在该端口上运行的服务,大多数人在 80 上运行 Web 服务器,但您可以在该端口上运行任何服务。

假设您在操作系统中的 80 端口上运行网络服务器,然后您可以使用该 ngrok 隧道从互联网上的任何地方访问该网络服务器。