Dear Rui,
I can access my ui via ngrok, but on page 206 you write:
You can close the SSH window, but you can’t quit the ngrok software otherwise the tunnel stops.
I don’t understand that.
The ngrok is installed on the raspi. I can setup a ssh connection from my pc to the raspi and i type in ./ngrok http -auth=”name:password” 1880.
I can access the ui from any pc anywhere with my unique link.
But then I shut down my pc, while the raspberry pi is still running. That moment the SSH window is closed, but it seems to me that the ngrok software stopped as well, because from that moment on, I can’t access the ui from any pc or mobile.
That’s where I don’t understand how I don’t quit ngrok software.
I thought that the connection was made with the raspberry pi where the node-red software runs.
Thank you for your help.
Yvonne
Hello Yvonne,
I need to update those instructions to show you how to do that, but in the meanwhile. Here’s what to do:
1. You need to install a software called screen, so that your command can be executed in the background. To install screen:
sudo apt install screen
2. Then, run the ngrok software on the background:
screen -d -m ./ngrok http -auth="yourusername:yourpassword" 1880
3. You won’t see anything being printed in the terminal window, so you must login into the ngrok website to find the ngrok URL to access from anywhere.
Does that work for you?
Hallo Rui,
Yes that works.
Thank you so much.
I’m sure this isn’t the last time I bother you;)
Have a nice day.
Yvonne