【问题标题】:How to open site with ngork?如何用 ngrok 打开网站?
【发布时间】:2016-08-01 03:22:33
【问题描述】:

我最近才开始使用ngork,所以基本上我运行beow命令:

ngork http 8080 

现在我在终端中得到以下信息:

ngrok by @inconshreveable                                       (Ctrl+C to quit)

Tunnel Status                 online
Version                       2.0.25/2.0.25
Region                        United States (us)
Web Interface                 http://127.0.0.1:4040
Forwarding                    http://7c0de733.ngrok.io -> localhost:8080
Forwarding                    https://7c0de733.ngrok.io -> localhost:8080

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00

现在当我打开以下链接时:

http://7c0de733.ngrok.io/ , This link opens up `http://7c0de733.ngrok.io/xampp/` , now what i really want to see is my wordpress demo website and so i type in the following:

http://7c0de733.ngrok.io/wordpress/ , but i get nothing.

我现在如何打开我的 wordpress 网站??为什么不打开上面的链接?

谢谢。

【问题讨论】:

    标签: localhost tunnel ngrok


    【解决方案1】:

    尝试这样做。 ngrok http [端口] -host-header="localhost:[端口]" 它会工作:)

    【讨论】:

      猜你喜欢
      • 2017-12-09
      • 2016-05-12
      • 2022-01-04
      • 1970-01-01
      • 1970-01-01
      • 2011-08-28
      • 2017-02-06
      • 2016-03-16
      • 2014-07-10
      相关资源
      最近更新 更多