OK, get it.
I used the same port for NodeBB and Redis.
Hello everyone, so I stumbled upon this great software via a friend, but I have one question, is it possible to run NodeBB without the need for using the port? Sorry if this question has be answered already, but Google failed me.
similar to this topic, you need a web-server.
"without port" isn't possible, you mean proxying the port 80 (http default port) to your NodeBB-port (4567 by default).
So just install and configure nginx.
Additional you should set the "use_port" attribute of your NodeBB/config.json to false to prevent the occurrence of the port within links, etc.
Hello @frissdiegurke are you sure it can't be left out during the install?
According to the comments here it's not recommended to let node.js listen on port 80 directly since you'd need to run it as root.
If you don't want to use nginx or apache you may try the command in the comment by dryprogrammers, I didn't test this and you may need to autorun the command on each boot.
Thanks @frissdiegurke I might just play it safe and use the port after all.
@Dark_Hunter You're welcome
@dark_hunter You could do as I do (running Apache 2.2.22 on an Ubuntu box). You just have to enable proxy_wstunnel (if you are running Apache 2.4) or patch your 2.2.x with proxy_wstunnel. I've written a post on the setup here. My own NodeBB is running with this setup on http://forum.ghostblog.be/.
Hello @rune sounds like something I could do yeah, I will have a look, thanks.