error while trying ldapmodify command

Latest response

Server Domain Name: ldap1.learning.com
Ports: 389 and 636

While trying for Replication Synchronization, I am facing the below error. Can someone help me on this ?

Command
[root @ldap1 ~]#ldapmodify -H ldaps://ldap1.learning.com:636 -D "cn=Directory Manager" -W -x

Error:

Enter LDAP Password:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

Responses