title: Verify if my node.js instance is dev or production
body: <p>Right now, whenever I want to deploy a node.js server to my production server, I need to change all the IP/DNS/username/password for my various connection to my databases and external APIs.</p>
  
  <p>This process is annoying, is there a way to verify if the currently running node.js instance is in cloud9ide or actually my production joyent smartmachine? </p>
  
  <p>If I am able to detemrine (in my running code) on which server my node.js instance is running , I'll add a condition that set the values to the prod or dev. </p>
  
  <p>Thank you</p>