How to listen only to localhost on MongoDB

后端 未结 4 867
一生所求
一生所求 2020-12-13 02:11

MongoDB Suggests that the easy way to handle security is to run it in a trusted environment, given that, \"in such a configuration, one must be sure only trusted machines ca

4条回答
  •  醉话见心
    2020-12-13 02:36

    Note that although it didn't appear in the documentation last time I checked, you can also put this setting in the .conf file (vs. command line).

    No setting = bind to all ips.

提交回复
热议问题