-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
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.
- is duplicated by
-
SERVER-10083 mongos does not validate port and accepts values outside of valid range
- Closed
-
SERVER-10244 Fail gracefully on invalid port number
- Closed
-
SERVER-12839 Unable to access HTTP Status Interface + Exception
- Closed
- related to
-
SERVER-4062 Quoted strings in $near query results in [0,0] coordinates
- Closed