Windows mongodb服务器bind_ip配置 [英] Windows mongodb server bind_ip configuration

查看:1263
本文介绍了Windows mongodb服务器bind_ip配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在允许来自Mongodb服务器的远程连接方面寻求帮助.

I would like to ask help on the allowing remote connections from my Mongodb server.

我在这里有我的配置,但不能正常工作,我在远程计算机上看到连接失败".

I have here my configuration but not working, i see "connect failed" on my remote machine.

C:\mongodb\bin\mongod --bind_ip 0.0.0.0

我做错了吗?

推荐答案

您的命令应为:

C:\ mongodb \ bin \ mongod --bind_ip 127.0.0.1,xxx.xxx.xxx.xxx

C:\mongodb\bin\mongod --bind_ip 127.0.0.1,xxx.xxx.xxx.xxx

IP xxx.xxx.xxx.xxx是远程计算机的IP(存在mongo DB)

the IP xxx.xxx.xxx.xxx is the IP of the Remote Machine (where mongo DB is there)

这篇关于Windows mongodb服务器bind_ip配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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