jcifs.smb.SmbException: Failed to connect: 0.0.0.0<00>/192.168.1.1
jcifs.util.transport.TransportException
- 解决方案
jsifs仅支持SMB1,而不支持SMB2/SMB3。而win10已经不默认开启smb1服务。
查看本机SMB服务:Get-SmbServerConfiguration | Select EnableSMB1Protocol, EnableSMB2Protocol
上图为开启SMB1后的截图
开启SMB1: