cant connect: sockettimeoutexception

Samba/CIFS client for android.

cant connect: sockettimeoutexception

Postby tcarlyle » Sun Jul 14, 2013 12:02 pm

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?
tcarlyle
 
Posts: 2
Joined: Sun Jul 14, 2013 11:44 am

Re: cant connect: sockettimeoutexception

Postby support » Sat Jul 20, 2013 9:03 am

Could you make sure port 445 is opened on the server/firewall?
support
 
Posts: 1025
Joined: Sun Apr 20, 2008 4:40 pm

Re: cant connect: sockettimeoutexception

Postby tcarlyle » Wed Jul 24, 2013 9:46 am

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
tcarlyle
 
Posts: 2
Joined: Sun Jul 14, 2013 11:44 am

Re: cant connect: sockettimeoutexception

Postby support » Sun Oct 20, 2013 8:56 am

Great !
support
 
Posts: 1025
Joined: Sun Apr 20, 2008 4:40 pm


Return to AndSMB



Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.