http://127.0.0.1:27017/当我尝试访问我正在获取的服务器时
看起来您正尝试在本机驱动程序端口上通过HTTP访问MongoDB。
如何解决这个问题,请帮助我,我是mongodb的新手。 当我尝试从终端访问时,我可以获取数据
db.restaurants.find()
{ "_id" : ObjectId("5658acd43132e79a3b88e510"), "address" : { "street" : "2 Avenue", "zipcode" : "10075", "building" : "1480", "coord" : [ -73.9557413, 40.7720266 ] }, "borough" : "Manhattan", "cuisine" : "Italian", "grades" : [ { "date" : ISODate("2014-10-01T00:00:00Z"), "grade" : "A", "score" : 11 }, { "date" : ISODate("2014-01-16T00:00:00Z"), "grade" : "B", "score" : 17 } ], "name" : "Vella", "restaurant_id" : "41704620" }