NoRouteToHostException occurs when :
- There is not an active Internet connection through which a socket connection may take place, or
- There is a nasty little firewall in the way
Your best option is to :
- Try using a SOCKS proxy, or
- Use a different protocol, like HTTP.
- If you still have firewall problems, Manually specify a HTTP proxy server.
This is a common problem, made more difficult by the fact that the fault may lie in either the client, or the server, or both.
The first step is to try and isolate the cause of the problem, by checking whether the server is responding correctly.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.