ngrok没有连接到本地服务器

问题描述 投票:0回答:1

所以,我在我的Mac OSx上运行ngrok(当前版本)。但是我收到以下错误:

Failed to complete tunnel connection
The connection to http://35504712.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:3746.

Make sure that a web service is running on localhost:3746 and that it is a valid address.

The error encountered was: dial tcp xx.xx.xx.xx:3746: getsockopt: connection refused

我知道我的服务器运行正常,因为我实际上可以在错误消息中单击指向本地服务器的链接并从我的服务器获得响应。

关于如何诊断的任何想法?

ngrok
1个回答
-1
投票

你确定你在项目目录中运行ngrok,你还可以访问localhost:3746吗?

还有什么命令用来开始托管ngrok服务器?

© www.soinside.com 2019 - 2024. All rights reserved.