title: Unable to connect MongoDb database
body: <p>When trying to connect MongoDb database from MongoChef after running <code>mongod.exe</code> I am getting this error:</p>
  <pre><code>Timed out after 30000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27018, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by
  
   {java.net.ConnectException: Connection refused: connect}}]
  </code></pre>