Run MongoDB with Secure Configuration Options - config - 'maxConns'
Information
maxIncomingConnections controls the maximum number of simultaneous connections that mongos or mongod will accept. NOTE: Update MAX_IN_CONN to the appropriate value for the local environment.
Solution
Set the value to an appropriate value for the environment.