0

我最近才开始使用 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 网站?为什么不打开上面的链接?

谢谢你。

4

1 回答 1

-2

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

于 2016-11-04T11:37:12.373 回答