ngrok隧道到localhost重新连接问题

时间:2015-11-01 15:37:29

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

我在运行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

4 个答案:

答案 0 :(得分:0)

您可以访问该网站吗?就像尝试使用任何浏览器访问https://ngrok.com一样。如果它不起作用,则说明该门户可能已被您的互联网阻止!

答案 1 :(得分:0)

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

ping ngrok.com

返回:“请求超时”。

就我而言是VPN中的问题。当我终止VPN时,就可以连接到ngrok。再次登录VPN后,ngrok继续工作。

答案 2 :(得分:0)

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

答案 3 :(得分:-2)

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

请看看

  

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