[jcifs] JCIFS Connection timeout

Michael B Allen ioplex at gmail.com
Fri Feb 11 15:49:35 MST 2011

On Tue, Feb 8, 2011 at 10:28 AM, suganya anbumani
<suganya.anbumani at gmail.com> wrote:
> Hi,
> We have been using Spring NTLM and we get sometime connection timeout error

Hi Suganya,

What is Spring NTLM?

> in Production.
> jcifs.smb.SmbException:
> jcifs.util.transport.TransportException: Connection in error
> jcifs.util.transport.TransportException
> java.net.ConnectException: Connection timed out: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

This is what happens when a socket cannot be connected to the server.
Maybe you have a firewall? CIFS requires port 445 to be open to the
target server.


Michael B Allen
Java Active Directory Integration

More information about the jCIFS mailing list