Is it impossible to access the couchbase cloud from the private subnet?

I can’t access endpoints on couchbase cloud from ec2 on a private subnet with external internet connection. This is possible on the public subnet. In couchbase cloud, is it not possible to access from a private subnet like

Yes, it is possible to access Couchbase Cloud from a private subnet. You should configure VPC peering connection between your Couchbase Cloud VPC and your application server VPC. Please ensure that both the VPCs CIDR blocks should not overlap with each other.

Below are some documents for your reference:

Hope the information helps.
Thank you

There was a problem with vpc. Thank you for answer!