Opensearch Support Articles

Verify the connection string, ensure correct port usage, and add your local machine to the database cluster’s trusted sources.
Add your machine to the database cluster’s list of trusted sources in the firewall settings.