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

new Mongo with a DBAddress

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major - P3 Major - P3
    • 2.4
    • 2.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: