• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Ngrok worked one time and stopped?

Q&A Forum › Ngrok worked one time and stopped?
0 Vote Up Vote Down
Robert Gillespie asked 4 years ago

I’ve been working on the RNT lesson on web servers.  I was just successful with the ngrok  software to get access from anywhere in the world (supposedly).  In any case, it worked the first time but gave me a warning that the site was unsafe.  I went forward and all was ok.  Then I shut everything down and tried to go back to the site via the http://www.  I was told the site refused my request.  4.tcp.ngrok.io refused to connect.  Any comments on ngrok?

6 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello Robert, I hope you are doing well.
In order to keep your tunnel running, you must keep the device that is running ngrok powered on. If you stop the device, it will close the tunnel and drop the connection.
Thanks!

0 Vote Up Vote Down
Robert Gillespie answered 4 years ago

Rui, does this mean that I would go through the procedure again to get my token each time I turned the connection off?

0 Vote Up Vote Down
Ron Kasper answered 4 years ago

No need for a new token request.  Just start up ngrok again like you did the first time.  NGROK seems rock solid using port 8888.  You just need a new url from ngrok every time you do a new session.  Keep ngrok running.  I tested many projects over a 1 month period without needing a new URL from ngrok. I was wondering about the security query too.  I get warnings like the world is going to end if you go to the link.  I use it and feel safe for testing my projects.  
Have fun.
 

0 Vote Up Vote Down
Robert Gillespie answered 4 years ago

Thanks Ron.  I’m going to look at Blynk as well.  Any comments on that?  

0 Vote Up Vote Down
Ron Kasper answered 4 years ago

Hey Robert:  I just had a peek at Blynk.  Looks like too much hidden “magic” code for me.  Thanks for the idea…

0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

You can also login into ngrok.com dashboard and find the latest URL for your tunnel, if needed.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.