title: mongodb error. how can I solve the erro in mongoDB?
body: <p>MongoDB shell version: 3.2.6
  connecting to: test</p>
  
  <pre><code>2016-05-08T10:46:12.023+0530 W NETWORK  [thread1] Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
  2016-05-08T10:46:12.023+0530 E QUERY    [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
  connect@src/mongo/shell/mongo.js:229:14
  @(connect):1:6
  
  exception: connect failed
  </code></pre>
  
  <p><a href="https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-ubuntu/" rel="noreferrer">https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-ubuntu/</a></p>