I have an ec2 instance running in aws. When app and LDAP running on same ec2, the app is not connecting to LDAP. If I try the same app connecting to another LDAP server it works fine. I tried the following scenarios:
I tried giving: Private IP, public IP and localhost as connection address.
Note: The app is running on container.