title: Created mongod replication Set but fail to connect
body: <p>I have created mongoDB replication set using this command:</p>
  
  <blockquote>
    <p>F:\data>mongod --replSet set1 --dbpath 1 --port 27101
    --oplogSize 50 --logpath log.1 --logappend --fork</p>
  </blockquote>
  
  <p>It does not recognize <code>--fork</code> and it is not there in <code>--help</code> as well (I guess) so I have excluded it and got following output. I think there is nothing wrong so far.</p>
  
  <pre><code>all output going to: log.1
  </code></pre>
  
  <p>Then when I try to use mongo console using this command</p>
  
  <pre><code>F:\data&gt;mongo --port 27101
  </code></pre>
  
  <p>It returns</p>
  
  <pre><code>MongoDB shell version: 2.2.2
  connecting to: 127.0.0.1:27101/test
  Thu Feb 14 01:36:33 Error: couldn't connect to server 127.0.0.1:27101 src/mongo/
  shell/mongo.js:93
  exception: connect failed
  </code></pre>
  
  <p>Now what can be done to make it work?</p>