localhost389 [Root exception is java.net.ConnectException Connection refused connect 处理

localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect 处理

Error report details: LDAP service connection timed out, unable to connect to LADP service

localhost:389; nested exception is javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]

Troubleshooting and solutions:

1. Check whether the LDAP (localhost:389) service connection is normal

2. If LDAP is not enabled, start the LDAP service

3. If the LDAP service is not installed, close the module that uses the LDAP service in the code and restart it to see if the error exists.

Guess you like

Origin blog.csdn.net/LSW1737554365/article/details/132710524