Installation on fresh Ubuntu 16

  • Hey there, I've set up a new instance (Amazon AWS EC2) to install nodeBB. I've been following the instructions here:

    and up until the point where it says:

    $ mongo -u your_username -p your_password --authenticationDatabase=admin

    it seemed to work fine (for a change, in my case). I've tried the username for mongoDB as well nodeBB defined just a few steps earlier with the same results.
    Here is what I get in return:

    MongoDB shell version: 3.2.12
    connecting to: test
    2017-02-12T19:16:21.567+0000 W NETWORK [thread1] Failed to connect to, in(checking socket for error after poll), reason: errno:111 Connection refused
    2017-02-12T19:16:21.567+0000 E QUERY [thread1] Error: couldn't connect to server, connection attempt failed :
    exception: connect failed
    ubuntu@ip-172-31-30-62:~$ D

    Mind, this was a 'clean' install. Should I have configured something else before proceeding?
    Hints to some guides or concrete how-tos are so very welcome, I'm on it - and similar trys - for several days now. Please help.

  • Global Moderator

    @sudo-quirp-error does sudo service mongod status say that the mongod daemon is running?

  • or sudo systemctl status mongod

Log in to reply

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.