- MongoDB Administrator’s Guide
- Cyrus Dasadia
- 111字
- 2021-07-02 15:47:42
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.
推薦閱讀
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- 零基礎學C++程序設計
- 算法訓練營:入門篇(全彩版)
- DevOps入門與實踐
- Animate CC二維動畫設計與制作(微課版)
- The HTML and CSS Workshop
- WebRTC技術詳解:從0到1構建多人視頻會議系統
- 低代碼平臺開發實踐:基于React
- 領域驅動設計:軟件核心復雜性應對之道(修訂版)
- 軟件體系結構
- ABAQUS6.14中文版有限元分析與實例詳解
- Solr權威指南(下卷)
- JavaWeb從入門到精通(視頻實戰版)
- 軟件測試(慕課版)
- React and React Native