All Products
Document Center

How to deal with the connection error?

Last Updated: Jan 29, 2018

The system returns the following error when I use the mongo shell to connect to an instance:

2015-12-21T10:20:36.084+0800 I NETWORK  Socket recv() errno:54 Connection reset by peer

2015-12-21T10:20:36.087+0800 I NETWORK  SocketException: remote: error: 9001 socket exception [RECV_ERROR] server []

2015-12-21T10:20:36.087+0800 I NETWORK  DBClientCursor::init call() failed


The error indicates that the server closes the connection because the number of connections to the instance reaches the upper limit and new connections cannot be set up.