See Also: NoRouteToHostException Members
The NoRouteToHostException will be thrown while attempting to connect to a remote host but the host cannot be reached for instance because of a badly configured router or a blocking firewall.
Most applications should not catch this exception; it is more robust to catch the superclass SocketException.