Symptom
NoRouteToHostException Message Generated During Connection Attempt.
A socket could not be connected to a remote host because the host could not be contacted.
Solution
Typically, this indicates that some link in the network between the local and remote server is down or that the remote server is behind a firewall.
Post your comment on this topic.