日期:2014-05-17  浏览次数:20798 次

求解决,远程访问
开始连接...url:smb://administrator:gdzy2013@192.168.1.136:12000/c:/caozhide/
jcifs.smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.136
jcifs.util.transport.TransportException
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:147)
at jcifs.util.transport.Transport.readn(Transport.java:29)
at jcifs.smb.SmbTransport.peekKey(SmbTransport.java:373)
at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:278)
at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:309)
at jcifs.util.transport.Transport.run(Transport.java:232)
at java.lang.Thread.run(Thread.java:619)

at jcifs.util.transport.Transport.run(Transport.java:248)
at java.lang.Thread.run(Thread.java:619)

at jcifs.smb.SmbTransport.connect(SmbTransport.java:299)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:156)
at jcifs.smb.SmbFile.doConnect(SmbFile.java:906)
at jcifs.smb.SmbFile.connect(SmbFile.java:949)
at Smb.init(Smb.java:43)
at Smb.<init>(Smb.java:36)
at Smb.getInstance(Smb.java:27)
at Smb.main(Smb.java:107)
jcifs.smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.136
jcifs.util.transport.TransportException
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:147)
at jcifs.util.transport.Transport.readn(Transport.java:29)
at jcifs.smb.SmbTransport.peekKey(SmbTransport.java:373)
at jcifs.smb.SmbTransport.negotiate(SmbTransport.java:278)
at jcifs.smb.SmbTransport.doConnect(SmbTransport.java:309)
at jcifs.util.transport.Transport.run(Transport.java:232)
at java.lang.Thread.run(Thread.java:619)

at jcifs.util.transport.Transport.run(Transport.java:248)
at java.lang.Thread.run(Thread.java:619)
------解决方案--------------------
java.net.SocketException: Software caused connection abort: recv failed
应该是没有回复,确定你的端口开了,防火墙啥的也没问题