Skip to content

Instantly share code, notes, and snippets.

View KimSchneider's full-sized avatar

Kim Schneider KimSchneider

  • Freelancer :: Former CTO @ servereye
  • Saarbrücken, Germany
View GitHub Profile
var http = require('http');
var httpProxy = require('http-proxy');
require('http-proxy').setMaxSockets(500);
httpProxy.createServer(8080, "localhost").listen(8181);
var i = 0;
http.createServer(function (req, res) {
console.log(++i);
}).listen(8080, "localhost");