ERR_CONNECTION_REFUSED at axios.get() execution

Why are you using http against the database ?

We’ve already been over the point you need to use a driver to access the database and no http api is provided.

Take a look at some of the quick starts and tutorials at the Developer Center