edit-icon download-icon

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  1.2.3.4:27017

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

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.

Thank you! We've received your feedback.