title: ldap_sasl_bind(SIMPLE): Can't contact LDAP server(-1)
body: <p>This is my /etc/hosts file:</p>
  
  <p><img src="https://i.stack.imgur.com/txwKM.png" alt="This is my /etc/hosts file:"></p>
  
  <p>This is my ldap.conf file:</p>
  
  <p><img src="https://i.stack.imgur.com/mGDDi.png" alt="This is my ldap.conf file:"></p>
  
  <p>I am getting </p>
  
  <blockquote>
    <p>"ldap_sasl_bind(SIMPLE): Can't contact LDAP server(-1)"</p>
  </blockquote>
  
  <p>when I run this command:</p>
  
  <pre><code>ldapsearch -x -H "ldap://ldap.techvictus.local" -P 3 -LLL -b "dc=techvictus,dc=local"
  </code></pre>