ngrok
ngrok is a simplified API-first ingress-as-a-service that adds connectivity, security, and observability to your apps in one line.
We use ngrok during local development when we need to temporarily preview the display on a mobile device.
Installation
- Sign up at ngrok.com.
- Sign in to ngrok.com.
- Open Setup & Installation.
- Refer to the aforementioned page for instructions on how to download, install, and configure the authtoken.
Fire it up
To start a HTTP tunnel forwarding to your local port 5173, run this next:
ngrok http 5173