It is a way to expose your local ports to the public web.
To expose the localhost port, run:
This kickstarts a long-running process, along with a unique URL pointing to your local computer. That URL is what other applications will point to, to send data.
ngrok
has some cloud service, which allows you to sign up for an account. Using an account allows your ngrok
session to go for more than 2 hours, and it also allows you to authenticate your local ngrok
server.
Warning
If you don’t authenticate your local
ngrok
server, it won’t be able to handle traffic. Your emitting application may emit an error.