Unresolving error

:cross_mark: MongoDB connection failed: 127.0.0.1:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 5.0s, Topology Description: <TopologyDescription id: 68d69bd0ab9f494c69253e80, topology_type: Unknown, servers: [<ServerDescription (‘127.0.0.1’, 27017) server_type: Unknown, rtt: None, error=AutoReconnect(‘127.0.0.1:27017: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)’)>]>

This post has a Streamlit Community Cloud tag. Is this an error for something you’ve deployed to Community Cloud? 127.0.0.1 is a localhost, so if you have deployed something to Community Cloud and it’s trying to communicate with itself through localhost, there is something incorrect about the setup. If you want to deploy an app on Community Cloud and communicate with a MongoDB database, the MongoDB database needs to be hosted somewhere else. Please can you provide more information?