See Also: ConnectException Members
A ConnectException is thrown if a connection cannot be established to a remote host on a specific port.
Most applications should not catch this exception; it is more robust to catch the superclass SocketException.
[Android Documentation]