Hi community people,
I am facing this frequent error message that the connection is refused due to the long complexity for accepting connection at Mongo DB server end. I couldn’t be able to connect to the MongoDB server despite of starting mongodb server in my Command Prompt.
I am getting this error message "ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 677952b5f33448f4d4f52479, topology_type: Unknown, servers: [<ServerDescription (‘localhost’, 27017) server_type: Unknown, rtt: None, error=AutoReconnect(‘localhost:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)’)>]>
"
It shall be good if anyone could assist me in resolving this issue.