Node.js consistently giving 503 error
<p>I just installed Node.js, got it working for a while, then tried to run a standard Hello World program. </p>

<pre><code>var http = require("http");

http.createServer(function (request, response) {

   // Send the HTTP header
   // HTTP Status: 200 : OK
   // Content Type: text/plain
   response.writeHead(200, {'Content-Type': 'text/plain'});

   // Send the response body as "Hello World"
   response.end('Hello World\n');
}).listen(8081);

// Console will print the message
console.log('Server running at http://127.0.0.1:8081/');
</code></pre>

<p>I then launched the domain I set up for node, <a href="http://node.foobar.com" rel="nofollow">http://node.foobar.com</a> - I successfully got it to print <code>Hello World</code> when I did the same on my domain last week. However now, I keep getting <code>503 Service Temporarily Unavailable error.</code></p>

<p>This happened last week too, after I closed the server, edited the code, then reran the server, it would 503 unless I waited a few minutes before running again. However, waiting makes no difference this time. </p>

<p>Apache config for domain:</p>

<pre><code>&lt;VirtualHost *:80&gt;
ServerAdmin zadmin@localhost
DocumentRoot "/var/zpanel/hostdata/zadmin/public_html/node"
ServerName node.foobar.com

ProxyRequests on
ProxyPass / http://localhost:3102/

# Custom settings are loaded below this line (if any exist)
&lt;/VirtualHost&gt;
</code></pre>