By using AWS re:Post, you agree to the Terms of Use

Unable to connect to DocumentDB within VPC via EC2 windows host using MongoDB Compass tool.


Hi Team,

Am getting the below error while connecting DocumentDB within VPC via EC2 windows using MongoDB Compass tool.

TLS/SSL is disabled. If possible, enable TLS/SSL to avoid security vulnerabilities. Server selection timed out after 30000 ms.

Please can you advise on this.

asked 2 months ago32 views
1 Answer

This document may help you debug the issue -

In particular, the first thing to check would be that the security group for DocumentDB allows incoming traffic from the security group of the EC2 machine on the documentDB port, which by default is 27017

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions