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

The driver tried to connect to remote server using internal ip

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.9.0, 2.9.1
    • API, Cluster Management
    • None
    • aws ec2

    Description

      We are using mongo replica set on ec2, we try to use new Mongo(seeds) and external ip list as server address to get a Mongo instance from remote ec2 server, when tried to update a collection, we met with a problem that the driver failed to connect to mongo as the server hostname (external ip) changed to ec2 internal ip, so connection timeout and failed.

      Driver 2.7.3 is OK, Driver 2.8.0 can not find the master.

      Attachments

        Activity

          People

            scotthernandez Scott Hernandez (Inactive)
            roger.xia roger xia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: