title: Mongo Java Replica Set - Can't find master
body: <p>I'm having problem with connecting to Mongo Replica Set in production. Replica Set has master on one machine, and secundary + arbiter on other machine.</p>
  
  <p>When I run my application locally it connects and uses Replica Set properly. I'm using Windows OS.</p>
  
  <p>Mongo URI is like this:</p>
  
  <p>mongodb://192.168.2.95:20000,192.168.2.96:20000/testDatabase</p>
  
  <p>I'm using Java Driver 2.10.1.</p>
  
  <p>When I deploy application in production server, It can't use replica set. Error is "can't find master".</p>
  
  <p>When I change mongo URI to use single node, like this: </p>
  
  <p>mongodb://192.168.2.95:20000/testDatabase</p>
  
  <p>then it works! </p>
  
  <p>What's the problem? I have search the web and I found few people with similar problem but I didn't found any proper solution...</p>