update mongodb install securing section
This commit is contained in:
parent
9b5d3ebbb7
commit
192e252c48
@ -160,9 +160,11 @@ security:
|
||||
sudo nano /etc/mongod.conf
|
||||
```
|
||||
|
||||
2. Find the `net` section and replace the `bindIp` line with the following:
|
||||
2. Find the `net` section, we need to update the `bindIp` value, it should look like this:
|
||||
|
||||
```bash
|
||||
net:
|
||||
port: 27017
|
||||
bindIp: 0.0.0.0
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user