遇到ngrok錯誤:Ngrok「客戶端無法建立與本地地址的連接」錯誤
client failed to establish a connection to the local address.
我跑在其他終端相同的端口(8081)在本地服務器上。我還用郵遞員確認服務器在本地機器上正常運行。
還有什麼會導致這個錯誤?
我有一個2015年初的Macbook Pro 13英寸運行Sierra。
遇到ngrok錯誤:Ngrok「客戶端無法建立與本地地址的連接」錯誤
client failed to establish a connection to the local address.
我跑在其他終端相同的端口(8081)在本地服務器上。我還用郵遞員確認服務器在本地機器上正常運行。
還有什麼會導致這個錯誤?
我有一個2015年初的Macbook Pro 13英寸運行Sierra。
雖然我工作的一個Rails應用程序,我想在ngrok運行它,但我得到了以下錯誤
The connection to http://xxxxxx.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:3000.
好像ngrok工作正常,但我的本地服務器不是。這是真的,因爲我忘了跑$ rails s
第一次運行我的rails應用程序。通過這樣做,我能夠讓ngrok tunneing正常工作。
確保您的本地服務器先運行。祝你好運。