小编Jor*_*ney的帖子

Ngrok错误'502坏网关'

使用任何类型的Web应用程序的东西都很新,我一直在尝试慢慢构建一个Facebook Messenger Bot.当我尝试使用ngrok时,我无法访问我给出的地址,即:

ngrok http 5000
Run Code Online (Sandbox Code Playgroud)

是我在命令行中放置的,它正在返回:

ngrok by @inconshreveable

Session Status                online
Version                       2.1.18
Region                        United States (us)
Web Interface                 http://127.0.0.1:4040
Forwarding                    http://ea986ca5.ngrok.io -> localhost:5000
Forwarding                    https://ea986ca5.ngrok.io -> localhost:5000

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00
Run Code Online (Sandbox Code Playgroud)

但是,当我根据Facebook开发者页面的要求获取地址" https://ea986ca5.ngrok.io "时,它说:

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


Make sure that a web service is running on localhost:5000 …
Run Code Online (Sandbox Code Playgroud)

https http-tunneling ngrok

27
推荐指数
6
解决办法
3万
查看次数

标签 统计

http-tunneling ×1

https ×1

ngrok ×1