Mongodb Windows设置“等待端口28017上的连接的管理Web控制台"错误 [英] Mongodb windows setup "admin web console waiting for connections on port 28017" error

查看:193
本文介绍了Mongodb Windows设置“等待端口28017上的连接的管理Web控制台"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在mongodb设置上有问题. 我正在使用Windows 8 64位Windows下载包.

I have a problem on mongodb setup. I am using windows 8 64 bit, downloaded package for windows.

当我尝试在cmd上安装此软件包时,出现错误.

While I am trying to install this package on cmd, I get an error.

http://prntscr.com/1ct7pa

它已停止此行"[websvr]管理Web控制台等待端口28017上的连接"

It's stoped this line "[websvr] admin web console waiting for connections on port 28017"

如何修复此错误?

谢谢.

我从答案中意识到这个问题不是错误".

edit: I realized from answers, "this problem isn't error".

我尝试了此命令,它运行正常.

I try this command, it worked flawlessly.

mongod --logpath c:\mongodb\logs\mongo.log --dbpath c:\mongodb\data\db --directoryperdb --install

推荐答案

从所附的屏幕截图中,MongoDB服务器已成功启动.通过运行mongod.exe,您已经启动了MongoDB服务器.现在可以接受来自MongoDB客户端的连接了.您可以使用MongoDB Shell,MongoDB客户端或您的应用程序连接到MongoDB服务器,并执行数据库操作.要启动MongoDB Shell,请在命令提示符下使用以下命令.

From the attached screenshot, MongoDB server has started successfully. By running mongod.exe you have started MongoDB server. It is now ready to accept connections from MongoDB clients. You can connect to your MongoDB server using MongoDB shell, a MongoDB client, or your application, and perform database operations. To start the MongoDB shell, use the following from command prompt.

默认情况下,MongoDB服务器在端口27017上侦听.此外,MongoDB管理控制台在MongoDB端口号+ 1000上侦听.在这里,您为MongoDB使用端口27017,因此管理控制台在端口28017上.以下网址将带您进入管理控制台.

By default, MongoDB server listens on port 27017. In addition, the MongoDB admin console listens on MongoDB port number + 1000. Here you are using port 27017 for your MongoDB, hence admin console is on port 28017. The following url will take you to the admin console.

http://kubilay:28017/

这篇关于Mongodb Windows设置“等待端口28017上的连接的管理Web控制台"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆