title: errmsg" : "No host described in new configuration 1 for replica set rs0 maps to this node", Why I am getting this message?
body: <p>I am getting this message every time I do <code>rs.initiate()</code> :</p>
  
  <blockquote>
    <p>No host described in new configuration 1 for replica set rs0 maps to this node</p>
  </blockquote>
  
  <p>This is how my <em>/etc/hosts/</em> file looks on both the replica set servers.</p>
  
  <p><strong>Server 1 and server 2 "hosts" file</strong></p>
  
  <blockquote>
    <p>127.0.0.1 localhost<br>
    aa.bb.cc.dd DataMongo1<br>
    ee.ff.gg.hh DataMongo2  </p>
  </blockquote>
  
  <p><strong>Server 1-mongod.conf file</strong></p>
  
  <blockquote>
    <p>bind-ip aa.bb.cc.dd</p>
  </blockquote>
  
  <p><strong>Server 2 -mongod.conf file</strong></p>
  
  <blockquote>
    <p>bind-ip ee.ff.gg.hh</p>
  </blockquote>
  
  <p><strong>changed server1 hostname to DataMongo1 and server2 to DataMongo2</strong></p>
  
  <p>$hostname DataMongo1</p>
  
  <p>Port 27071 is uncommented on both servers</p>
  
  <p><strong>ReplicaSet config file</strong>:</p>
  
  <blockquote>
    <p>cfg= {<br>
    _id:"rs0",<br>
    members:[{_id:0,host:"DataMongo1:27071"},{_id:1,host:"DataMongo2:27071"}]}</p>
  </blockquote>
  
  <p>Please help me with this issue.</p>