Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1597

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

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

      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@mongodb.com Matt Broadstone
            Reporter:
            sunrize531@gmail.com Ivan Filimonov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: