简体   繁体   English

Ngrok无法识别的命令

[英]Ngrok unrecognized command

I'm trying to integrate the twilio api to work with an app Im writting. 我正在尝试将twilio api集成到Im编写的应用程序中。 I followed every step on the guide and I downloaded and put the binary inside my project folder. 我按照指南的每个步骤进行操作,并下载了二进制文件并将其放在项目文件夹中。

I followed a tutorial to test ngrok using sinatra I tested the app and showed the correct xml file in the port 4567, the next step was running ./ngrok 4567 but it shows this error ERROR: Unrecognized command: 8000 . 我遵循了使用sinatra测试ngrok的教程,我测试了该应用程序,并在端口4567中显示了正确的xml文件,下一步正在运行./ngrok 4567但它显示此错误ERROR: Unrecognized command: 8000

Does anyone know what can it be? 有谁知道会是什么?

Perhaps you're missing the http portion of the ngrok command? 也许您缺少ngrok命令的http部分?

./ngrok http 4567

Source: https://ngrok.com/docs#expose 资料来源: https : //ngrok.com/docs#expose

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM