NodeBB database problem Cloud9
-
Hello,
I go to do
./nodebb buildbut it cant connect to my database for some reason:
it shows the error:
17/3 22:20:09 [7400] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: failed to connect to server [127.0.0.1:27017] on first connect
17/3 22:20:09 [7400] - error: [build] Encountered error preparing for build: failed to connect to server [127.0.0.1:27017] on first connectTo be honest I'm new to this and I may not have it installed correctly but pretty sure I've done everything right, or at least I have.
Here is my config:
{
"url": "http://localhost:4567",
"secret": "SECRET",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "USERNAME",
"password": "PASSWORD",
"database": "nodebb"
}
}Can you help me with this?