c# - Connect MongoDB from remote machine using C#
问题描述
I have installed Mongodb on one server on port 27017, when I am trying to access the monogdb using c#, it is failing. but able to connect to mongodb that is installed locally 127.0.0.1:27017. From internet I came to know that we need to bind_ip to 0.0.0.0 but did not work, may i have done in wrong way.
Please let know the steps how to connect to remote mongodb using c# or steps to bind ip.
Thanks, Raj4ms
解决方案
推荐阅读
- r - 如何计算第 2 列和第 4 列之间的时间差,但在某些情况下在第 3 列和第 4 列之间
- angular - Syncfusion富文本编辑器Angular 9 iFrame在材质组件中不起作用
- c# - 在 c# 上读取 xml 文件,读取阿拉伯文本提供加密字符串而不是实际的 utf-8
- html - 固定标题和侧边栏将内容推送到它们下方
- javascript - 页面加载后我的第一个 api 请求总是失败
- php - Instagram 追随者计数脚本让我很难过。(PHP)
- javascript - 通过ajax调用传递参数 - ajax url
- batch-file - 杀死、清理并重新启动 Firefox
- python - 从字典中获取所有值(包括字典中字典的值)
- python - 使用 scapy 在 IP 示例中制作 IP