Lab Configuration file failed

Below is my conf file which is almost identical to the detailed answer except for the quotation marks and the ip addresses are reversed. Why isn’t this correct?

storage:
dbPath: “/data/db”
net:
bindIp: “127.0.0.1,192.168.103.100”
port: 27000
security:
authorization: “enabled”

Hi Todd_53417
Nothing wrong with your config file
What error you are facing?
I kicked off an instance with your file
It is up and running
Make sure you don’t have another instance running on the same port/path
I changed dbpath to /data/db/r as i have another instance active
vagrant@m103:~$ mongod -f test.conf
2019-07-22T01:41:45.333+0000 I CONTROL [initandlisten] MongoDB starting : pid=2886 port=27000 dbpath=/data/db/r 64-bit host=m103
2019-07-22T01:41:45.334+0000 I CONTROL [initandlisten] db version v3.6.9

2019-07-22T01:41:46.672+0000 I NETWORK [initandlisten] waiting for connections on port 27000

1 Like

Hi @Todd_53417,

The reason for your incorrect answer is that you have posted the answer from Lab: Launching Mongod in the current lab.

Please check the validation key thoroughly before submitting the answers for a particular lab.

Let me know, if you have any questions.

Thanks,
Sonali