title: how get ip client using express 4.x
body: <p>I want to get the client's IP and I 'm trying with localhost <code>(127.0.0.1 )</code> but I always get <code>:: 1</code></p>
  
  <p>i 'm trying using </p>
  
  <pre><code>app.enable('trust proxy');
  app.set('trust proxy', 'loopback');
  
  app.get('/',function(req,res){
   res.send(req.ip); //I always get :: 1
   // or
   var ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
      res.send(ip);//I always get :: 1
  });
  </code></pre>
  
  <p>how can get <code>127.0.0.1</code> and not <code>:: 1</code> . this can be done?</p>