我正在尝试学习如何将CosmosDB与烧瓶一起使用。我阅读了使用CosmosDB for MongoDB API(https://docs.microsoft.com/en-us/azure/cosmos-db/create-mongodb-flask#run-the-web-app)构建flask应用程序的教程。我不断得到错误:
pymongo.errors.ConnectionFailure: [WinError 10061] No connection could be made because the target machine actively refused it.
仿真程序正在运行,但不会连接。我按照说明操作过一次,但现在已经不工作了
编辑:我有VSCode的Python扩展
你安装了Python扩展吗?您可以检查此Build a Flask app using Azure Cosmos DB for MongoDB API,并验证是否正确地执行了此操作
相关问题 更多 >
编程相关推荐