title: How do I use node.js http-proxy for logging HTTP traffic in a computer?
body: <p>I am trying to implement the simplest example:</p>
  
  <pre><code>var http = require('http'),
  var httpProxy = require('http-proxy');
  
  httpProxy.createServer(function (req, res, proxy) {
      //
      // I would add logging here
      //
      proxy.proxyRequest(req, res, { host: 'www.google.com', port: 80 });
  }).listen(18000);
  </code></pre>
  
  <p>When I configure my browser to use this proxy and I navigate to www.google.com I receive no response. What is that I am doing wrong?</p>
  
  <p>I'm using Windows 7 Chrome</p>