I have mongo installed on Centos instance in AWS and I am connecting to the mongoDB server from my system. To connect from remote system we need to change bind_ip value to 0.0.0.0 in /etc/mongod.conf file and have done the same thing. Still I am not able to connect to the mongoDB from my system. When I checked weather the changed bind_ip is reflecting or not using
netstat -a
command the result is
tcp 0 0 localhost:27017 0.0.0.0:* LISTEN
but, to connect from remote system it should be
tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN
So the change in bind_ip value is not reflecting. Can anyone help on this?
Asked by Yadav yadu
(1 rep)
Nov 15, 2018, 04:37 AM
Last activity: Apr 11, 2025, 05:05 AM
Last activity: Apr 11, 2025, 05:05 AM