title: Installing Node Application on a server. Apache npm pm2
body: <p>I have installed a node js application (myapp.js) on a server with a particular IP.</p>
  <p>I have npm installed and started the application</p>
  <p>I have done this before but it was with apache and much more complex.</p>
  <p>However this is the only application on this server. It is running fine.</p>
  <p>Shouldn't this just be available at the ip it is installed on?</p>
  <p>My own guess is it is something to do with the node setup within the application<a href="https://i.stack.imgur.com/NFMtV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NFMtV.png" alt="pm2 server" /></a>, as its referring to a local host 8050? Maybe this needs to be an IP?</p>
  <p><a href="https://i.stack.imgur.com/7aXAc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7aXAc.png" alt="enter image description here" /></a></p>
  <hr />
  <p><strong>Edit</strong>
  I have just installed the application on the server. I havent set up any apache so maybe that is the issue. I think perhaps because i defined a port within the application it then needs a port specified on the server?</p>