- MongoDB Administrator’s Guide
- Cyrus Dasadia
- 114字
- 2021-07-02 15:47:42
How it works...
By default, the mongod daemon binds to all interfaces on TCP port 27017. By passing the IP address with the --bind_ip parameter, we instructed mongod daemon to listen only on this socket. Next we passed the --port parameter along with --bind_ip to instruct the mongod daemon to listen to a particular port and IP. Using a non-standard port is a common practice when one wishes to run multiple instances of mongod daemon (along with a different --dbpath) or wish to add a little touch security by obscurity. Either way, we will be using this practice in our later recipes to test shards and replica sets setups running on a single server.
推薦閱讀
- Java Web開發學習手冊
- 機器學習系統:設計和實現
- MySQL數據庫基礎實例教程(微課版)
- Learning Vaadin 7(Second Edition)
- Unity 2018 Shaders and Effects Cookbook
- 用戶體驗可視化指南
- Windows Phone 8 Game Development
- Python預測分析實戰
- JavaWeb從入門到精通(視頻實戰版)
- Tkinter GUI Programming by Example
- Instant AppFog
- HTML5+jQuery Mobile移動應用開發
- jBPM6 Developer Guide
- Puppet Essentials
- Python服務端測試開發實戰