Hi all, when I try to run a flask app on the tommy server, pymongo gives me this error, how can I fix it?
"cluster0-shard-00-01.fhsrc.mongodb.net:27017: [Errno 111] Connection refused,cluster0-shard-00-02.fhsrc.mongodb.net:27017: [Errno 111]
Connection refused,cluster0-shard-00-00.fhsrc.mongodb.net:27017: [Errno 111] Connection refused,
Timeout: 30s, Topology Description: <TopologyDescription id: ugkctamdzd6nvshm69miov4r topology_type: ReplicaSetNoPrimary, servers:
[<ServerDescription ('cluster0-shard-00-00.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-00.fhsrc.mongodb.net:27017:
[Errno 111] Connection refused')>, <ServerDescription ('cluster0-shard-00-01.fhsrc.mongodb.net', 27017)
server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-01.fhsrc.mongodb.net:27017: [Errno 111] Connection refused')>,
<ServerDescription ('cluster0-shard-00-02.fhsrc.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster0-shard-00-02.fhsrc.mongodb.net:27017:
[Errno 111] Connection refused')>]>"
Instead if i run the app with my pc on the localhost i don't get any error.