📜  pymongo.errors.ServerSelectionTimeoutError: localhost:27017 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:29.060000             🧑  作者: Mango

代码示例1
# maybe your server inactive state check that onces
service mongodb status
#if Active: inactive then start your server up and run
service mongodb start
# after that exicute your code