LDAP server connection issue

Hi there,

We are using OSS 3.27.0-03 version of Nexus RM inside docker container.

I’m currently trying to configure LDAP authentication but I’m stuck on the very beginning:

Failed to connect to LDAP Server: XXXXX:389 [Caused by java.net.UnknownHostException: XXXXX]

When I test the connection from the container itself using: ldapsearch and same credentials i use in Nexus - it works fine :confused:

Any ideas guys ?

https://docs.oracle.com/javase/8/docs/api/java/net/UnknownHostException.html

Guess it was DNS issue - adding entry to etc/hosts solved my problem.