使用mongovue连接数据库localhost:27017: 未将对象引用设置到对象的实例。.

mac2022-06-30  36

在连接mongovue是连接不上问题:

Connection was refusedUnable to connect to server localhost:27017: 未将对象引用设置到对象的实例。.Type: MongoDB.Driver.MongoConnectionExceptionStack: 在 MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference)

解决方法:

只需要下面三行不输入任何东西即可。直接这样测试便可连接成功。

 

转载于:https://www.cnblogs.com/Alex-d/p/7679704.html

相关资源:操作数据库MongoVUE
最新回复(0)