Hi mscdex, Unfortunately in my testing that always returns 0.0.0.0.
On Mon, Feb 27, 2012 at 3:34 PM, mscdex <[email protected]> wrote: > On Feb 27, 2:30 pm, Tim Whidden <[email protected]> wrote: > > I'm working with a 3rd party API that requires me to pass them the IP > > address of the server making the request. Is there a standard way to get > my > > servers's IP address? > > HTTP(s) servers inherit from net.Server, so there's this: > http://nodejs.org/docs/v0.6.11/api/net.html#server.address > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- -- -- Tim Whidden -- http://twhid.com -- http://mtaa.net -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
