title: Mongo: "exception: connect failed"
body: <p>I am trying to connect to the mongo server, using the "mongo" command in the command prompt and this error is showing: "exception: connect failed"</p>
  
  <p>Here is how I am trying to do it:</p>
  
  <pre><code>C:\Program Files\MongoDB\Server\3.4\bin&gt;mongo
  MongoDB shell version v3.4.7
  
  connecting to: mongodb://127.0.0.1:27017
  
  2017-08-10T23:19:22.708-0600 W NETWORK  [thread1] Failed to connect to 127.0.0.1:27017 after 5000ms milliseconds, giving up.
  
  2017-08-10T23:19:22.708-0600 E QUERY    [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
  
  connect@src/mongo/shell/mongo.js:237:13
  @(connect):1:6
  
  exception: connect failed
  </code></pre>
  
  <p>Here is an image:
  <a href="https://i.stack.imgur.com/CCAma.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CCAma.jpg" alt="img"></a></p>
  
  <p>Please, be nice, I am a begginer and I dont know a lot from this technology.</p>