title: Cannot connect to node on windows server 2008R2
body: <p>I have 2 different instances of node running middleware (express) on a windows server.</p>
  
  <p>The first one which I have been running for quite some time is at </p>
  
  <pre><code>http://judsondesigns.dyndns.org:3010/api/authenticate
  </code></pre>
  
  <p>If you do an options call in fiddler or postman to this API, you will get headers back.</p>
  
  <p>I just setup another instance (server.js) which is the same exact code only different port: </p>
  
  <pre><code>http://judsondesigns.dyndns.org:3011/api/authenticate
  </code></pre>
  
  <p>When I hit this one I get ERR_CONNECTION_REFUSED.</p>
  
  <p>I have opened ports 3010 and 3011 (TCP) on my firewall.</p>
  
  <p>My file looks like this:</p>
  
  <pre><code>app.set('port', process.env.PORT || 3011);
  // express/connect middleware
  app.use(morgan('dev'));
  router.use(function (req, res, next) {
    res.header('Cache-Control', 'private, no-cache, no-store, must-revalidate');
    res.header('Expires', '-1');
    res.header('Pragma', 'no-cache');
    next()
  });
  
  app.listen(app.get('port'), function () {
    console.log('myApp server listening on port ' + app.get('port'));
  });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/0sGDH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0sGDH.png" alt="enter image description here"></a></p>