never mind been a while since i installed nodedbb, that prompt was for database = redis not the redis db number which came later on 🙂./nodebb setup 1/8 09:58  - info: NodeBB Setup Triggered via Command Line Welcome to NodeBB! This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed. Press enter to accept the default setting (shown in brackets). URL used to access this NodeBB (http://localhost:4567) Please enter a NodeBB secret (09df113d-0255-48b7-8e21-c2d0eba3be54) Which database to use (redis) 1/8 09:58  - info: Now configuring redis database: Host IP or address of your Redis instance (127.0.0.1) Host port of your Redis instance (6379) Password of your Redis database Which database to use (0..n) (0) 3 Configuration Saved OK [email protected] node_modules/redis [email protected] node_modules/connect-redis └── [email protected] ([email protected]) Populating database with default configs, if not already set... Enabling default theme: Persona No categories found, populating instance with default categories 1/8 09:59  - warn: No administrators have been detected, running initial user setup
No IP binding possible: glooming on 0.0.0.0
No matter what I write into config.json, nodeBB keeps glooming on 0.0.0.0. I have tried
"url": "127.0.0.1", "port": "4568"
I have to bind to a local IP, because I am behind an NGINX proxy.
Read the docs, searched the forum, any hints what to try next?
This should work, no? What is the expected behaviour, and what happens with that value in
@julian It does not work. With all the different options I end up with nodebb binding to 0.0.0.0 It gets the port right and if I change the port and restart it will bind to the correct port, but always to 0.0.0.0, no matter what I set as IP.
@HerrDirektor so you don't want to be able to access your site via port
4568, correct? You want everything to go through Nginx, right?
The two options are not mutually exclusive, Herr Direktor.
Bind address should be your local ethernet interface. Set it to 127.0.0.1 if you only wish to have the machine itself access it (or reverse proxy via nginx).
urlis just used by NodeBB when it needs to refer to itself as a URL.