Default Manager URI to "mongodb://127.0.0.1/"

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.2.0-alpha1, 1.2.0
    • Affects Version/s: 1.1.8
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We originally defaulted to "mongodb://localhost:27017/" in PHPC-509 (released in 1.1.0), but this was removed due to refactoring in PHPC-368 (released in 1.1.1). Since then, we rely on libmongoc's default of "mongodb://127.0.0.1/". Let's explicitly apply that default in the driver and update our documentation.

      When the behavior was originally changed in PHPC-368, there might have been implications for preferring IPv4 connections by default instead of resolving localhost to a possible IPv6 address (see: PHPC-512).

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: