Newbie question – might be more appropriate for ServerFault, apologies if so.
I’m setting up node on Ubuntu 11.10, following the excellent howtonode instructions on installing Node.
I can get the Hello World page running on 127.0.0.1:8000, but how do I set it up to appear for my server’s external IP?
I’m used to configuring Apache – what’s the node equivalent of Apache’s “Hello World” page?
Thanks for your help.
UPDATE: Maybe what I need is a tutorial on hosting Node. Would be great if anyone could suggest a good one.
There is no configuration needed to make your external IP address work with node.js, unless and until you bind it otherwise.
Instead of
.listen(PORT, IP_ADDRESS_OR_HOST );use.listen(PORT);Then, just use
IP_ADDRESS_OR_HOST:PORTto access it.