- 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.
推薦閱讀
- Implementing Modern DevOps
- HTML5移動Web開發技術
- Modular Programming with Python
- Hyper-V 2016 Best Practices
- Blender 3D Incredible Machines
- Effective Python Penetration Testing
- C語言程序設計案例精粹
- Android移動開發案例教程:基于Android Studio開發環境
- 軟件測試綜合技術
- Xcode 6 Essentials
- Android系統下Java編程詳解
- PhoneGap 4 Mobile Application Development Cookbook
- C語言程序設計教程
- Swift High Performance
- Learning Cocos2d-JS Game Development