unable to connect to postgres hosted on ubuntu VM on azure from myBinder

83 Views Asked by At

I've setup a postgres database on an ubuntu VM on azure.

I use this simple conda env to access my database from jupyter :

conda create -n test python=3.8.5 pandas psycopg2 ipython-sql sqlalchemy jupyterlab

I can connect to this database from jupyter using sqlalchemy from my desktop :

%load_ext sql

And then :

%sql postgresql://user:[email protected]:5432/test_db

But when I do the same from myBinder (or from some other locations behind proxy), it can't connect and it times out.

It seems to be related with the mybinder security policy, can I set up something to go through?

0

There are 0 best solutions below