title: Accessing mongoDB using mongoose on production server
body: <p>When i run node server.js on production server ,mongodb connection established with proper success message. but, any query not get executed while execution. After some time of loading the page getting error 502.</p>
  
  <pre><code>var mongoUrl = 'mongodb://localhost:27017/dbname'
  </code></pre>