How to connect to remote MongoDB server


How to connect to remote MongoDB server



~sudo vi /etc/mongod.conf


# network interfaces
net:
  port: 27017
  bindIp: 127.0.0.1
  bindIpAll: true



~$ sudo service mongod restart

댓글