The ubiquitous get ip script--for node.js in this case.