I'm tryna connect to mongodb through python but it's kinda different from javascript so its not working, please someone help a bit?
db = MongoClient.connect("mongodb://host:port") # Changed that in the real code to my own server which workes
collection = db.test_db