ngrok tunnels to localhost reconnecting issue

19,016

Solution 1

I have sometimes the same issue. I have found, that when the ngrok can not connect, the browser can the site https://ngrok.com open, but in the console the command:

ping ngrok.com

returns: 'Request timeout'.

In my case is the problem in VPN. When I terminate the VPN, then I can connect to ngrok. And the ngrok continues to work after I log in to the VPN again.

Solution 2

Could you access the website though? Like try to access https://ngrok.com using any browser and see. If it does not work, then maybe the portal is blocked by your internet!

Solution 3

Please disconnect and reconnect your wifi connection. For me it worked

Share:
19,016
bobbydf
Author by

bobbydf

Updated on June 17, 2022

Comments

  • bobbydf
    bobbydf almost 2 years

    I have a camera set up on my ARM based system running ubuntu 12.0.4 LTS. I am accessing internet from an ethernet cable of my modem. I am able to view the live stream from my camera using motion software on my local network. However to view these streams from the internet, I found this software ngrok. After installation, when I type

    ./ngrok http 80
    

    or

    ./ngrok tcp 22
    

    or anything else, it says connecting initally but then, goes to

    Tunnel Status                 reconnecting (x509: certificate has expired or is
    

    How do I resolve this ?

    Other information which might be useful:

    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
    
  • Klevison
    Klevison over 2 years
    Same for me. It works
  • kheengz
    kheengz over 2 years
    try ngrok http -region=eu {port_number}