Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-201

new Mongo with a DBAddress

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • 2.4
    • Affects Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      In the javadoc, it's explained that I can connect to MongoDB with a DBAddress, like this:

      Mongo mongo3 = new Mongo( new DBAddress( "127.0.0.1:27017", "test" ) )
      

      But, the IP address in the DBAddress is ignored, and the connection is always made to 127.0.0.1:27017.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            brmichel Bruno Michel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: