Mongod.conf does not work

0

I created an instance on AWS EC2 and installed MongoDB. After that, I opened the Mongod.conf file and changed the parameter bindIpApp: true.

When I type sudo mongod no console , it looks like the code does not work (I can not contact the server via external source). But when I type sudo mongod --bind_ip_all , it works.

What am I doing wrong?

    
asked by anonymous 16.02.2018 / 17:46

0 answers