ServerSelectionTimeoutError with PyMongo and Flask

I also just tried it with these version and it continues to throw the same error:

Python 3.11.2
PyMongo 4.3.3