Page 1 of 1

cant connect: sockettimeoutexception

Posted: Sun Jul 14, 2013 12:02 pm
by tcarlyle
When I try to connect to my samba server through AndSMB I get the message:

Failed to connect: 0.0.0.0<00>/192.168.1.200 jcifs.e.a.d
java.net.SocketTimeoutException: failed to connect to /192.168.1.200(port 445)

On the android client side, I am using anonymous login and I have tryed using both the ip address of the samba server in the hostname field and the hostname itself. It is perhaps worth mentioning that I cant connect using other similar android applications (AndroXplorer, ES File Explorer)

On the server side, I have the following configuration http://pastebin.com/V0BRW3vK and I can access it through windows, ubuntu and even through my playstation =D But not with my android device.

Is there something I need to do in the android device beforehand in order to connect to the network drive?

Re: cant connect: sockettimeoutexception

Posted: Sat Jul 20, 2013 9:03 am
by support
Could you make sure port 445 is opened on the server/firewall?

Re: cant connect: sockettimeoutexception

Posted: Wed Jul 24, 2013 9:46 am
by tcarlyle
Thanks, it was something related to the ports. I had some conflicting rules on my firewall which I think it was allowing just TCP and on ipv4 local ips on the 445 port, and denying the rest. After I solved my conflicts it worked

Re: cant connect: sockettimeoutexception

Posted: Sun Oct 20, 2013 8:56 am
by support
Great !