title: Make node.js app work on ubuntu server
body: <p>I've created a very simple node application, and it works perfectly on my local environment.</p>
  
  <p>the app is listening to port 8000 like:</p>
  
  <pre><code>var app = express();
  // ... some codes in between ...
  app.listen(8000);
  </code></pre>
  
  <p>and on my local environment I can access to the node app like:</p>
  
  <pre><code>http://localhost:8000
  </code></pre>
  
  <p>however, when I'm trying to make it work on my linode server (Ubuntu 10.04),
  I can't access to the node app with:</p>
  
  <pre><code>http://mydomain.com:8000
  </code></pre>
  
  <p>I'm sure that I have all the node_modules in place, because when I do</p>
  
  <pre><code>node app.js
  </code></pre>
  
  <p>it returns no error message and looks like it's running.</p>
  
  <p>I'm thinking maybe it's because that I have apache2 setup for the <a href="http://mydomain.com" rel="nofollow">http://mydomain.com</a>, and I should do some kind of proxy setup, or it could be some issue that I don't know at all. I am really clueless and I can't find any related documents on Google... I know there must be a lot of things that I don't understand in between... please help me understand how to deploy node.js app to the server. Thank you all very much</p>