update mongodb install securing section
This commit is contained in:
parent
9b5d3ebbb7
commit
192e252c48
@ -160,10 +160,12 @@ 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
|
||||||
bindIp: 0.0.0.0
|
net:
|
||||||
|
port: 27017
|
||||||
|
bindIp: 0.0.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Save the file and exit the editor. You can do this by pressing `CTRL + X`, then `Y`, then `ENTER`.
|
3. Save the file and exit the editor. You can do this by pressing `CTRL + X`, then `Y`, then `ENTER`.
|
||||||
|
Loading…
Reference in New Issue
Block a user