nodejs server, where to configure interface?

Any nodejs experts out there?

I’ve been searching over a couple hours now without finding an answer to my Q

When I install and launch a nodejs web server, by default it seems to only attach to the “localhost” network interface. I need to specify a network interface that specifies “network” non-local access.

I understand that when launching the server, it imports the configuration file from the project files you already are in, but all project config examples I’ve looked at only specify a port number… not an interface, IP address or FQDN for external access.


Although I couldn’t find any config examples posted anywhere,
I found the answer in the nodejs documentation

A client app connecting to a Server
net Node.js v0.10.23 Manual & Documentation

A Server app listening for clients
net Node.js v0.10.23 Manual & Documentation