Why i cannot conntect to my db on my office notebook?

I am in my office and i want to use my mongo db atlas here but the problem is i cannot connect to my db it shows me an time out error. The connection string is correct. I think the issue lays down with something else. Can someone help me there?

cluster0-shard-00-01.pc41j.mongodb.net:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster0-shard-00-02.pc41j.mongodb.net:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster0-shard-00-00.pc41j.mongodb.net:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 67a3348d3ea284e56ebc3851, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster0-shard-00-00.pc41j.mongodb.net', 27017) server_type: Unknown, rtt: None, error=NetworkTimeout('cluster0-shard-00-00.pc41j.mongodb.net:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-01.pc41j.mongodb.net', 27017) server_type: Unknown, rtt: None, error=NetworkTimeout('cluster0-shard-00-01.pc41j.mongodb.net:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster0-shard-00-02.pc41j.mongodb.net', 27017) server_type: Unknown, rtt: None, error=NetworkTimeout('cluster0-shard-00-02.pc41j.mongodb.net:27017: timed out (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]>
  • Check to make sure you have set Atlas to allow your incoming IP address
  • Check to make sure your corporate firewall does not prevent the IP address or the port number.

the ip address is correct! which settings from my firewall do i need to check?

Check to see you are permitted outbound to port 27017 and to the Atlas IP address

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.