2017-08-07 116 views
2

遇到ngrok错误:Ngrok“客户端无法建立与本地地址的连接”错误

client failed to establish a connection to the local address.

我跑在其他终端相同的端口(8081)在本地服务器上。我还用邮递员确认服务器在本地机器上正常运行。

还有什么会导致这个错误?

我有一个2015年初的Macbook Pro 13英寸运行Sierra。

回答

0

虽然我工作的一个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正常工作。

确保您的本地服务器先运行。祝你好运。

相关问题