Hi ,
 
    I am a developer and I have set up openldap2.4.12 and wrote an ldap client in C using the ldap C sdk.
Over lan everything looks fine but when I try to connect and do the same thing over an external IP it fails saying
 
ldap_bind_s :Can;t contact ldap server(-1).
 
The server runnign with d127 shows
 
"
error:broken pipe
connection reset by peer
 
"
 
Could you please help me?
 
Thanks
 
Sankhadip