title: node.js server call not responding on Windows Server 2008
body: <p>I created a node.js application which runs fine on 2 laptops.
  Now I want to install it on a windows 2008 server.</p>
  
  <p>I copied the files, installed all programs needed (express, mssql).
  I can start my server, which goes well.</p>
  
  <p>This is the code for starting the server :</p>
  
  <pre><code>var server = app.listen(3000, function () {
      console.log('Listening on port %d', server.address().port);
  });
  </code></pre>
  
  <p>And when I start it with node server.js I see : Listening on port 3000.</p>
  
  <p>But when I try to do a call from my browser, nothing happens. No error, nothing. What am I missing here? I also tried other ports, and using 127.0.0.1 instead of localhost, but nothing works ...</p>
  
  <p>Thanks for any advice on this one.</p>
  
  <p>THis is the complete server.js file :</p>
  
  <pre><code>var sql = require('mssql');
  var express = require('express');
  
  var config = {
  user: 'xx',
  password: 'xxxxxxx',
  server: 'xxxxxxxxxxx',
  database: 'xxxxxxxxxxxxxxxxxx'
  }
  
  
  
  var app = express();
  
  console.log(__dirname);
  
  app.use(express.static(__dirname + '/public'));
  
  sql.connect(config, function (err) {
  
  app.get('/login', require("./login.js"), function (err, res) {
      if (err)
          console.error(err);
  
      //console.dir(recordset);
      res.send(recordset);
  });
  
  
  app.get('/customers', require("./customers.js"), function (err, res) {
      if (err)
          console.error(err);
  
      res.send(recordset);
  });
  
  app.get('/customersReseller', require("./customersReseller.js"), function (err, res) {
      if (err)
          console.error(err);
  
      res.send(recordset);
  });
  
  app.get('/networks', require("./networks.js"), function (err, res) {
      if (err)
          console.error(err);
  
      res.send(recordset);
  });
  
  app.get('/bmmeasurements', require("./laatste_bm_metingen.js"), function (err, res) {
      if (err)
          console.error(err);
  
      res.send(recordset);
  });
  
  app.get('/diagnostics', require("./diagnostics.js"), function (err, res) {
      if (err)
          console.error(err);
  
      res.send(recordset);
  });
  
  
  var server = app.listen(3000, function () {
      console.log('Listening on port %d', server.address().port);
  });
  
  
  });
  </code></pre>