title: Connect mongo db to remote server nodejs
body: <p>I nave nodejs server and connecting to Mongo DB locally using mongoose as:</p>
  
  <pre><code>mongooseQ.connect("mongodb://localhost:27017/YepiMobile"); 
  </code></pre>
  
  <p>How can I connect to mongo db that locating on remote server from my machine?</p>
  
  <p>Something like:</p>
  
  <pre><code>mongooseQ.connect("mongodb://remote.server.com:27017/YepiMobile"); 
  </code></pre>