使用mongovue连接数据库localhost:27017: 未将对象引用设置到对象的实例。.
时间:2017-10-17 09:20:16
收藏:0
阅读:1488
在连接mongovue是连接不上问题:
Connection was refused
Unable to connect to server localhost:27017: 未将对象引用设置到对象的实例。.
Type: MongoDB.Driver.MongoConnectionException
Stack: 在 MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference)
解决方法:
只需要下面三行不输入任何东西即可。直接这样测试便可连接成功。
原文:http://www.cnblogs.com/Alex-d/p/7679704.html
评论(0)