have been following the tutorials on the esp32 web server and can controll the two leds without any trouble, but
on page 185 of learn esp32 (2nd edition) with arduino ide i can get up to here but when i try to install the token i keep on getting error message
C:\Windows\system32>ngrok tcp 192.168.0.12:8888 –authtoken 1hfgoDj7ckWRfVb16C2RvZ4XpNj_5quHbvgqobfPES9fcgCP
‘ngrok’ is not recognized as an internal or external command,
operable program or batch file.
any help would be appreciated
Ron Forbes (from the land downunder)
Hi Ron.
Did you download ngrok and clicked on the executable file? Only after that, you should run the command.
Regards,
Sara
yes have done all that
” VERSION:
2.3.35
AUTHOR:
inconshreveable – <alan@ngrok.com>
COMMANDS:
authtoken save authtoken to configuration file
credits prints author and licensing information
http start an HTTP tunnel
start start tunnels by name from the configuration file
tcp start a TCP tunnel
tls start a TLS tunnel
update update ngrok to the latest version
version print the version string
help Shows a list of commands or help for one command
ngrok is a command line application, try typing ‘ngrok.exe http 80′
at this terminal prompt to expose port 80.
C:\Windows\system32> “”
this is the version of ngrok im using and this is what i type in
C:\Windows\system32>ngrok tcp 192.168.0.12:8888 — authtoken 1hfgoDj7ckWRfVb16C2RvZ4XpNj_5quHbvgqobfPES9fcgCP
looks exactly light the wording on page 185
and this is the response
”’ngrok’ is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>”
can you see if ive done something wrong, have checked spelling twice and still get the same answer
Ron Forbes
Hi again.
I think I know why that error is happening.
After you download the .zip folder with the ngrok executable file, you need to unzip it. If you just try to run the software directly from the .zip folder, it will not run properly and it will give that error.
So, extract the file from the .zip folder and open the ngrok file. Then, proceed as shown in the tutorial.
Let me know if this solves your problem.
Regards,
Sara
were getting there, this is what i have typed in
ngrok tcp 192.168.0.12:8888 — authtoken 1hfgoDj7ckWRfVb16C2RvZ4XpNj_5quHbvgqobfPES9fcgCP
and now get error message,
ERROR: You must specify a single argument: a port or address to tunnel to.
ERROR: You specified 4 arguments: [192.168.0.12:8888 — authtoken 1hfgoDj7ckWRfVb16C2RvZ4XpNj_5quHbvgqobfPES9fcgCP]
ERROR: For example, to expose port 80, run ‘ngrok tcp 80’.
Hi.
Instead of a dash “-” you need two dashes like this “–”
So, your command should be:
ngrok tcp 192.168.0.12:8888 --authtoken 1hfgoDj7ckWRfVb16C2RvZ4XpNj_5quHbvgqobfPES9fcgCP
Let me know if it works now.
Regards,
Sara
Dear Sara
Thank you so very much, i thought i had checked everything twice, i’ve had my daughter check from her place and she can see and change the buttons.
Ron