Using mongoose and mlab behind a proxy
Asked Answered
S

0

8

Can't connect to my mlab database if I'm behind a proxy.

Any idea how to achieve this? I've already googled and found no answer...

Here is my connection:

mongoose.connect(config.db.URI);
var db = mongoose.connection;
db.on('error', function(){
    throw new Error('unable to connect to database at ' + config.db.URI);
});
Steamer answered 5/7, 2016 at 7:17 Comment(5)
There's a similar question here but it doesn't look like that one's been answered yet either. Did you figure it out yet?Interpretative
No I ended up installing a local mongo and imported my data from mlabRanket
Having the same issue.Dina
Please consider my proxy client solution here that worked for me.Rickety
@Rickety did you have to buy Proxifier?Subaltern

© 2022 - 2024 — McMap. All rights reserved.