【问题标题】:Why Ngrok access encounter error 502 Bad Gateway?为什么 Ngrok 访问会遇到错误 502 Bad Gateway?
【发布时间】:2019-07-27 15:00:33
【问题描述】:

我在 localhost 上建立了 Ngrok 隧道,在端口 8080 上启动服务,同时运行命令 ./ngrok http 8080。万事俱备,却无法成功:

访问 localhost:4040,查看如下:

【问题讨论】:

    标签: nat ngrok


    【解决方案1】:

    我用下面的命令,效果很好

    ngrok http 127.0.0.1:8080 -host-header="127.0.0.1:8080"

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-17
      • 1970-01-01
      • 1970-01-01
      • 2018-04-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-12
      相关资源
      最近更新 更多