Hey everyone
I try to connect to my Mongodb with Python and get the server status, but only get the following error message: ServerSelectionTimeoutError: Got response id 808465440 but expected 27529
this is my python code:
from pymongo import MongoClient
client = MongoClient(‘mongodb://localhost:3000/’)
db=client.meteor
serverStatusResult=db.command(“serverStatus”)
print(serverStatusResult)
I made sure that my local server is running =)
Thanks in advance!