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

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

报错详情:LDAP服务连接超时,无法连接到LADP服务

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

问题排查及解决方法:

1、检查LDAP(localhost:389)服务连接是否正常

2、如果LDAP未开启,启动LDAP服务

3、如果没有安装LDAP服务,代码里关闭使用到LDAP服务的模块重新启动查看报错是否存在

猜你喜欢

转载自blog.csdn.net/LSW1737554365/article/details/132710524
今日推荐