node app --setup
What happened instead: Now configuring mongo database: 2021-03-12T17:06:56.884Z [18868] - warn: NodeBB Setup Aborted. MongoServerSelectionError: connection <monitor> to 168.63.xxx.xxx:27017 closed at Timeout._onTimeout (C:\Codes\NodeBB\node_modules\mongodb\lib\core\sdam\topology.js:438:30) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7)Connection lost
-
I just installed nodebb and when I go to a page I get this error:
Looks like your connection to NodeBB was lost, please wait while we try to reconnect.
Here is my config.json:
{ "url": "http://localhost:4567", "secret": "0ca0e0fc-a6d3-4794-9128-388a3d6cbf3a", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": "", "database": "0" } }
How can I fix this?
-
UPDATE:
The solution was to change
"url": "http://localhost:4567",
to
"url": "http://185.***.***.***:4567",
AKA my IP adress -
This post is deleted!