title: Starting a node.js server
body: <p>I recently got into node and I installed it on my localhost. I am using WAMP. I am on Windows Vista.</p>
  
  <p>Anwyay, I installed it. I made a new file in my localhost directory with this being called <code>server.js</code></p>
  
  <pre><code>var http = require('http');
  
  http.createServer(function (request, response) {
      response.writeHead(200, {
          'Content-Type': 'text/plain',
          'Access-Control-Allow-Origin' : '*'
      });
      response.end('Hello World\n');
  }).listen(1337);
  </code></pre>
  
  <p>then I went to node and tried typing <code>% node server.js</code> and all I got was an ellipses. What gives?</p>
  
  <hr>
  
  <p><strong>UPDATE:</strong> I checked my Systems variable and saw that my <code>PATH</code> lists the node.js as <code>C:\Program Files (x86)\nodejs\</code></p>
  
  <p><img src="https://i.stack.imgur.com/4R4wz.png" alt="enter image description here"></p>