【问题标题】:ngrok tunnels to localhost reconnecting issue [closed]ngrok隧道到本地主机重新连接问题[关闭]
【发布时间】:2016-02-01 12:41:01
【问题描述】:

我在运行 ubuntu 12.0.4 LTS 的基于 ARM 的系统上设置了一个摄像头。我正在通过调制解调器的以太网电缆访问互联网。我可以使用本地网络上的运动软件从我的相机中查看实时流。但是要从互联网上查看这些流,我发现了这个软件 ngrok。安装后,当我输入

./ngrok http 80

./ngrok tcp 22

或其他任何东西,它说最初连接,但随后,转到

Tunnel Status                 reconnecting (x509: certificate has expired or is

我该如何解决这个问题?

其他可能有用的信息:

Version                       2.0.19/
Web Interface                 http://127.0.0.1:4040

Connections                   ttl     opn     rt1     rt5     p50     p90
                              0       0       0.00    0.00    0.00    0.00

【问题讨论】:

  • sudo ngrok -log=stdout 80看问题

标签: ssh ubuntu-12.04 live-streaming tunnel ngrok


【解决方案1】:

您可以使用其他隧道解决方案。

请看一下

https://pagekite.net/support/quickstart/

请按照以下步骤使用新方法从 localhost 创建隧道

website: `https://pagekite.net/support/quickstart/`
1) run
=> curl -s https://pagekite.net/pk/ |sudo bash
2) Signup
=> pagekite.py --signup
3) Completed all the details
4) pagekite.py 3000 yourname.pagekite.me
Ex:
pagekite.py 80 vijaychouhan.pagekite.me

MORE

删除 pagekite 帐户

pagekite.py --remove vijaychouhan.pagekite.me

if your pagekite account is expired then signup on pagekite.me with new email and get new account.
once you will signup successfully with new account then you can get Default Kite Secret into account tag.

now goto home folder and find .pagekite.rc file and replace your
kitename   = NEW PAGE KITE
kitesecret = SECRET KEY

Enjoy with new account

【讨论】:

    【解决方案2】:

    您可以访问该网站吗?就像尝试使用任何浏览器访问https://ngrok.com 并查看。如果它不起作用,那么可能是您的 Internet 阻止了该门户!

    【讨论】:

      【解决方案3】:

      我有时也会遇到同样的问题。我发现,当ngrok无法连接时,浏览器可以打开站点https://ngrok.com,但是在控制台中命令:

      ping ngrok.com
      

      返回:'请求超时'。

      在我的情况下是 VPN 的问题。当我终止 VPN 时,我可以连接到 ngrok。在我再次登录 VPN 后,ngrok 继续工作。

      【讨论】:

      • 试试ngrok http -region=eu {port_number}
      【解决方案4】:

      请断开并重新连接您的 wifi 连接。对我来说它有效

      【讨论】:

      • 对我来说也一样。它有效
      猜你喜欢
      • 2017-02-21
      • 2018-07-07
      • 2020-04-30
      • 2011-05-09
      • 2019-04-24
      • 2019-10-27
      • 2020-10-05
      • 1970-01-01
      • 2017-04-08
      相关资源
      最近更新 更多