Results 1 to 2 of 2

Thread: nodejs server, where to configure interface?

  1. #1
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,927
    Blog Entries
    2

    Default 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.

    TIA,
    TSU

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,927
    Blog Entries
    2

    Default Re: nodejs server, where to configure interface?

    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

    TSU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •