Local Database

You can connect SeekWell to a local database using ngrok. For more information, see:

Exposing networked services

TCP tunnels allow you to expose any networked service that runs over TCP. This is commonly used to expose SSH, game servers (for example, Minecraft), databases and more.

To start a TCP tunnel, follow these steps:

  1. Sign up. Ngrok is free to all users.

  2. Get your authtoken.

  3. Install your authtoken.

    $ ngrok authtoken YOUR_TOKEN_HERE
  4. Create your secure tunnel.

    $ ngrok tcp port

    For example, to expose a MySQL database, with a port 3306, use:

    $ ngrok tcp 3306

    Then, you can see the ngrok UI in your terminal, for example:

    Session Status        online                                                                                           Account               jotarios (Plan: Free)                                                                          Version               2.2.8                                                                                          Region                United States (us)                                                                               Web Interface                                                                            Forwarding            tcp://0.tcp.ngrok.io:14563 -> localhost:3306                                                     Connections           ttl     opn     rt1     rt5     p50     p90                                68      0       0.00    0.00    0.89    28.70

In this example, you can access to your database through 0.tcp.ngrok.io:14563.

Was this page helpful?