在服务器端我运行
./bin/ngrokd -domain="$NGROK_DOMAIN" -httpAddr=":8088" -httpsAddr=":8082" -tunnelAddr=":8083"
显示
[18:39:55 CST 2017/07/18] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [registry] [tun] No affinity cache specified
[18:39:55 CST 2017/07/18] [INFO] (ngrok/log.(*PrefixLogger).Info:83) [metrics] Reporting every 30 seconds
[18:39:55 CST 2017/07/18] [INFO] (ngrok/log.Info:112) Listening for public http connections on [::]:8088
[18:39:55 CST 2017/07/18] [INFO] (ngrok/log.Info:112) Listening for public https connections on[::]:8082
[18:39:55 CST 2017/07/18] [INFO] (ngrok/log.Info:112) Listening for control and proxy connections on [::]:8083
在客户端我运行
./ngrok -subdomain=ym -config="ngrok-config" start tunnel1
显示
ngrok (Ctrl+C to quit)
Tunnel Status online
Version 1.7/1.7
Forwarding http://ym.t.kmic168.com:8088 -> 127.0.0.1:81
Web Interface 127.0.0.1:4040
# Conn 0
Avg Conn Time 0.00ms
我已经设置了nginx配置。
但在浏览器上试试
respond 503 code
请帮忙谢谢
最佳答案
你必须给你的ip设置一个类似“*.t”的记录
关于linux - ngrok响应503代码,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45164626/