- 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.
推薦閱讀
- Mastering AWS Lambda
- Linux核心技術從小白到大牛
- Python Geospatial Development(Second Edition)
- Learning Laravel 4 Application Development
- 深入淺出DPDK
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Go并發編程實戰
- C語言程序設計
- Geospatial Development By Example with Python
- Hands-On Kubernetes on Windows
- Illustrator CS6設計與應用任務教程
- JQuery風暴:完美用戶體驗
- Learning Kotlin by building Android Applications
- Python機器學習
- jQuery Essentials