fix: use 127.0.0.1 instead of localIP for LDAP connections in LockdownModeTaskTestCase
Agent-Logs-Url: https://github.com/OpenIdentityPlatform/OpenDJ/sessions/807d09ee-6b9e-40b4-a1a9-e956b013c9c2
Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
| | |
| | | boolean isLoopback = localAddress.isLoopbackAddress(); |
| | | String[] args = |
| | | { |
| | | "-h", localIP, |
| | | "-h", "127.0.0.1", |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-b", "", |
| | | "-s", "base", |
| | |
| | | // anonymous connection. |
| | | args = new String[] |
| | | { |
| | | "-h", localIP, |
| | | "-h", "127.0.0.1", |
| | | "-p", String.valueOf(TestCaseUtils.getServerLdapPort()), |
| | | "-b", "", |
| | | "-s", "base", |