I've seen multiple threads on this but still can't get up and running.
I've tried TLS and TCP connections, but the main issue is that browsers cannot understand these URLs (e.g. tls://2456xxxx.ngrok.io).
Once I set up a TLS or TCP connection to https://localhost, how can I actually connect through a browser?
(I need to test Stripe's PaymentRequest feature which requires a localhost connection with a green check.)
Threads on this issue that don't seem to answer this question: https://github.com/inconshreveable/ngrok/issues/194 https://github.com/inconshreveable/ngrok/issues/123
I got this to work by turning off https on my local server. If you run a plain http local server on 8080 and then run ./ngrok http 8080
you will be given a signed https ngrok URL that will tunnel to your http server.