The Well-Known Port for LDAPS is 636. But I think LDAP is one of those protocols where you can also use the non-secure port and they'll negotiate security.
Although for readability, efficiency and reduced likelihood of coding errors, I would recommend using String.format() to build the ldapUrl
string instead of brute concatenation.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.