MongoDB connection

Trying to access a MongoDB with connectionstring:

But I get Mongoerror “connection to closed”
Is that because an incorrect ip filter maybe?


To test your connection outside of Losant, I’d recommend using the Mongo CLI:

If you can successfully run this command with your connection URl, it should work within Losant:

mongo "mongodb://"