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

mongos allows you to specify an invalid port number

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.5.3
    • 2.2.1
    • Networking
    • Fully Compatible
    • ALL

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: