nested exception is javax.naming.CommunicationException: abc.com:389 [Root exception is java.net.ConnectException: Connection timed out]
<p>I am looking to authenticate google using CAS. And I am getting error as </p>

<blockquote>
  <p>org.springframework.ldap.CommunicationException: xyz.com:389; nested exception is javax.naming.CommunicationException: abc.com:389 [Root exception is java.net.ConnectException: Connection timed out]</p>
</blockquote>

<p>My LDAP credentials are correct. When I use AD LDAP, I can login successful but if I use Luminis LDAP credentials, we are getting error.</p>

<ul>
<li>Maven version: Apache Maven 3.3.9</li>
<li>CAS version: 3.5.2</li>
<li>Tomcat version: 7.0.70</li>
<li>Java version: 1.7.0_79, vendor: Oracle Corporation</li>
</ul>

<p>Any suggestions?</p>

<p>Thank you in Advance.</p>

<p>Bob.</p>