MongoDB connection

Trying to access a MongoDB with connectionstring:
mongodb+srv://:@cluster0-tiksr.mongodb.net/test?retryWrites=true&w=majority

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

@Lars_Andersson,

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

https://docs.mongodb.com/manual/mongo/#mongodb-instance-on-a-remote-host

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

mongo "mongodb://mongodb0.example.com:28015"