mongo连接还是报错,半天了,真是没招了
来源:2-4 express+mongodb基础

慕斯8262231
2017-12-17
D:\mongodb\bin>mongo.exe
MongoDB shell version v3.6.0
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.6.0
Server has startup warnings:
2017-12-16T23:50:58.764+0800 I CONTROL [initandlisten]
2017-12-16T23:50:58.764+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-12-16T23:50:58.765+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is
unrestricted.
2017-12-16T23:50:58.766+0800 I CONTROL [initandlisten]
2017-12-16T23:50:58.767+0800 I CONTROL [initandlisten] ** WARNING: This server is bound to localhost.
2017-12-16T23:50:58.768+0800 I CONTROL [initandlisten] ** Remote systems will be unable to connect to this s
erver.
2017-12-16T23:50:58.769+0800 I CONTROL [initandlisten] ** Start the server with --bind_ip <address> to speci
fy which IP
2017-12-16T23:50:58.770+0800 I CONTROL [initandlisten] ** addresses it should serve responses from, or with
--bind_ip_all to
2017-12-16T23:50:58.771+0800 I CONTROL [initandlisten] ** bind to all interfaces. If this behavior is desire
d, start the
2017-12-16T23:50:58.773+0800 I CONTROL [initandlisten] ** server with --bind_ip 127.0.0.1 to disable this wa
rning.
2017-12-16T23:50:58.774+0800 I CONTROL [initandlisten]
2017-12-16T23:50:58.775+0800 I CONTROL [initandlisten]
2017-12-16T23:50:58.775+0800 I CONTROL [initandlisten] ** WARNING: The file system cache of this machine is configure
d to be greater than 40% of the total memory. This can lead to increased memory pressure and poor performance.
2017-12-16T23:50:58.777+0800 I CONTROL [initandlisten] See http://dochub.mongodb.org/core/wt-windows-system-file-cach
e
2017-12-16T23:50:58.778+0800 I CONTROL [initandlisten]
win7的环境,求各位大神告知到底咋回事
1回答
-
慕瓜8449030
2017-12-17
你启动 mongodb 的服务了吗?先启动服务再链接
00
Redux+React Router+Node.js全栈开发
1822 学习 · 750 问题
相似问题