官术网_书友最值得收藏!

Binding MongoDB process to a specific network interface and port

As you might have observed, after starting the MongoDB server, the mongod process binds to all interfaces which may not be suitable for all use cases. For example, if you are using MongoDB for development or you are running a single node instance on the same server as your application, you probably do not wish to expose MongoDB to the entire network. You might also have a server with multiple network interfaces and may wish to have MongoDB server listen to a specific network interface. In this recipe, we will see how to start MongoDB on a specific interface and port.

主站蜘蛛池模板: 临夏县| 东乡族自治县| 都江堰市| 东丽区| 台前县| 西吉县| 土默特右旗| 固始县| 小金县| 青河县| 旬阳县| 台山市| 郸城县| 广东省| 广东省| 大冶市| 金坛市| 北宁市| 靖江市| 吉木萨尔县| 贵德县| 色达县| 静安区| 托里县| 扶绥县| 义马市| 平南县| 宜黄县| 乐山市| 二连浩特市| 嘉黎县| 即墨市| 拉孜县| 香河县| 阜阳市| 津市市| 车致| 荆州市| 韩城市| 宁晋县| 奉贤区|