Connect to PostgreSQL using ngrok

Many errors trying to connect until I’ve found a way, so here’s the answer for anyone with the same issue:

Host: just the 0.xx.ngrok.io (no tcp:// and no port)
Port: the port that ngrok gives (like 11238)

And that’s it.

Hope this helps for future reference.