update mongodb install securing section

This commit is contained in:
Lee 2023-06-28 12:31:06 +01:00
parent 9b5d3ebbb7
commit 192e252c48

@ -160,9 +160,11 @@ security:
sudo nano /etc/mongod.conf 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 ```bash
net:
port: 27017
bindIp: 0.0.0.0 bindIp: 0.0.0.0
``` ```