Firstly, try running it on PC itself to see if the IP is correct and attempts to connect are not being cut by firewall.
Also check if the "internet" permission is enabled in Android game options - pretty sure it just throws that error if you have no permit.