Skip to main content

Using ngrok with MongoDB

As noted in this StackOverflow post, you can use a TCP tunnel to host your local MongoDB server. Open an ngrok TCP tunnel to your local MongoDB service which is usually running on port 27017.

ngrok tcp 27017