title: Nodejs+Express+Cluster How to use same port?
body: <p>So I am experimenting with clustering and running into "Error: bind EADDRINUSE null".</p>
  
  <p>Condenses(and tested) code:</p>
  
  <pre><code>var cluster = require('cluster');
  if (cluster.isMaster) {
      // Count the machine's CPUs
      var cpuCount = require('os').cpus().length;
  
  // Create a worker for each CPU
  for (var i = 0; i &lt; cpuCount; i += 1) {
      cluster.fork();
  }
  } else {
      var https = require('http');
      var express = require('express');
      var app = express();
      var serv = https.createServer(app);
      serv.listen(80);
      console.log("Server started.");
  }
  </code></pre>
  
  <p>Obviously it is because my workers are binding to the same port. connections to client are continuous and a bit intensive. I would like to load balance inbound connections to workers. Is there a way my master can pass connections to workers?</p>