- 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.
推薦閱讀
- Game Programming Using Qt Beginner's Guide
- PaaS程序設(shè)計
- Flink SQL與DataStream入門、進(jìn)階與實戰(zhàn)
- Visual C++串口通信技術(shù)詳解(第2版)
- 零基礎(chǔ)入門學(xué)習(xí)Python
- JAVA程序設(shè)計實驗教程
- Getting Started with Greenplum for Big Data Analytics
- C語言程序設(shè)計上機(jī)指導(dǎo)與習(xí)題解答(第2版)
- 劍指大數(shù)據(jù):企業(yè)級數(shù)據(jù)倉庫項目實戰(zhàn)(在線教育版)
- Spring MVC+MyBatis開發(fā)從入門到項目實踐(超值版)
- 機(jī)器學(xué)習(xí)微積分一本通(Python版)
- 動手打造深度學(xué)習(xí)框架
- SSH框架企業(yè)級應(yīng)用實戰(zhàn)
- Selenium WebDriver Practical Guide
- Ubuntu Server Cookbook