mongodb服务已经启动,但无法读取Connection.DEFAULT_PORT
给我你的怀抱
给我你的怀抱 2017-05-02 09:22:53
0
1
691

mongodb服务已经启动,浏览器可以访问localhost:27017,但是控制台还是报错 无法读取Connection.DEFAULT_PORT; 新手求大神解决


自己也百度找了好多文章,但是没有解决,不知道问题出在哪里,话说定义使用默认端口就是这样的啊,新手求助!

给我你的怀抱
给我你的怀抱

reply all(1)
为情所困

This actually has nothing to do with the MongoDB server itself. It is a problem with the driver.
You need to first determine what version of the driver you are using, whether it is native-driver or mongoose.
You probably saw the code from somewhere else. The main problem may be that the driver version you are using is different from others.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!