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?
@pitaj not on any incoming connection. I just solved it. When I set url to http://127.0.0.1 AND bind_address at the same time, then it works. Setting just one does not. Weird behaviour IMHO. Thanks for the help anyway!
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.