[Mongodb] Connect failure to Mongodb on VM

First

=> vi /etc/mongod.conf

Modify

“bind_ip = 127.0.0.1” to “bind_ip = 127.0.0.1[, IP address…]”

At last

=> service mongod restart

Show your support

Clapping shows how much you appreciated yyc4work’s story.