Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7808

mongos allows you to specify an invalid port number

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.3
    • Affects Version/s: 2.2.1
    • Component/s: Networking
    • Fully Compatible
    • ALL

      Mongos allows you to specify a port number above the maximum. For example, I accidentally started it on port 67017 and it started up without complaining. Of course, then you can't connect to it.

      The code should detect port numbers above 65535 and fail with an appropriate error message, ideally.

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            ctindel Chad Tindel
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: