title: Sharding Mongo Surprised to discover
body: <p>I am trying to run a sharding in mongo. I ran this commands:</p>
  
  <pre><code>mongod --rest --shardsvr --port 10000 --dbpath data/localhost10000 --logpath data/localhost10000/log
  
  
  mongod --rest --port 10002 --dbpath data/localhost10002 --logpath data/localhost10002/log
  
  mongos --port 10003 --configdb localhost:10002 &gt; run_routing_service_log
  
  
  
  mongo localhost:10003
  
  use admin
  db.runCommand({addshard:"localhost:10000", name:"shard10000"});
  db.runCommand({addshard:"localhost:10001", name:"shard10001"});
  
  
  use test_sharding
  sh.enableSharding("test_sharding")
  db.people.ensureIndex({"zip": 1})
  db.people.insert({"name": "a1", "password": "a1", .... )
  
  sh.status()
  </code></pre>
  
  <p>I am obtain this error:</p>
  
  <p>Surprised to discover that localhost:10002 does not believe it is a config server</p>