I\'ve just installed MongoDB (standard Ubuntu build, not the latest stable) and for some reason I can\'t connect:
Mon Feb 6 03:11:22 Error: couldn\'t connect to
in /etc/mongod.conf
I changed,
bindIp: 127.0.0.1
to
bindIp: 0.0.0.0
which is all ports. Yeah, I know it's risky, but I am running on an internal network.
BTW commenting out #bindIp: 127.0.0.1 did NOT work for me, running under Ubuntu 18.
#bindIp: 127.0.0.1