🏠

Local Database

You can get SeekWell to work with a local database using ngrok. The following links will help:

Exposing networked services

TCP tunnels allow you to expose any networked service that runs over TCP. This is commonly used to expose SSH (Yes, SSH!), game servers (e.g. Minecraft), databases and more. Starting a TCP tunnel is easy.

First, you need sign up (for free) to expose this type of services.

Step 1: Sign up

Step 3: Install your authtoken

$ ngrok authtoken YOUR_TOKEN_HERE

Step 4: Create your secure tunnel

$ ngrok tcp port

For example, I wanna expose a MySQL database, with a port 3306:

$ 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         http://127.0.0.1:4041                                                                            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 Easy, right?