MongoDB -- 외부접속 허용


환경 : ubuntu 14.04 LTS 64bit Server


참고 : http://www.freezner.com/archives/1038

         https://docs.mongodb.org/manual/reference/configuration-options/



$ sudo vim /etc/mongod.conf 


# network interfaces

net:

  port: 27017

  bindIp: 0.0.0.0





** restart 하기


$ sudo service mongod restart

Posted by 자유프로그램
TAG