The driver tried to connect to remote server using internal ip

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.9.0, 2.9.1
    • Component/s: API, Cluster Management
    • None
    • Environment:
      aws ec2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Scott Hernandez (Inactive)
            Reporter:
            roger xia
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: