2017-07-18 86 views
0

在服務器側I運行ngrok響應503代碼

./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配置。

瀏覽器的

但是儘量http://ym.t.kmic168.com:8088/

respond 503 code 

請幫忙謝謝

回答

0

你必須設置一個A記錄就像 「* .T」 你的IP