Getting "port must be specified" when using connection string without ports.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.1.3
    • Affects Version/s: 3.1.1
    • Component/s: Core
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If I set useNewUrlParser to true and try to connect to replica set using url without ports specified, I'm getting the exception from server.js:136:24.

      According to specification port has to be optional.

            Assignee:
            Matt Broadstone
            Reporter:
            Ivan Filimonov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: