Meteor Up deployment, can't use meteor mongo --url

前端 未结 7 1265
-上瘾入骨i
-上瘾入骨i 2020-12-09 06:21

I\'ve recently deployed my Meteor app to a Digital Ocean droplet running Ubuntu 14.04 x32. I used Meteor Up with this mup.json file:



        
相关标签:
7条回答
  • 2020-12-09 06:53

    You can change the mongod.conf, to allow access from outside (a bit dangerous of course ;)

    nano /etc/mongod.conf
    
    # Listen to local interface only. Comment out to listen on all     interfaces.
    # bind_ip = 127.0.0.1
    

    then restart the server

    service mongod stop
    service mongod start
    

    and you can access it from outside (using ssh-forwarding in robo-mongo)

    0 讨论(0)
提交回复
热议问题