This guide explains how to expose your local MongoDB server using ngrok TCP endpoints.Documentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll need
- MongoDB installed and running locally.
- An ngrok account.
- Your ngrok authtoken.
- A valid payment method added to your account (TCP endpoints are only available on a free plan after adding a valid payment method).
Expose your MongoDB server
Use a TCP endpoint to expose your local MongoDB server. Open an ngrok TCP endpoint to your local MongoDB service, which is usually running on port27017.