title: NoRouteToHostException on client or server?
body: <p>I am getting</p>
  
  <pre><code>Caused by: java.net.NoRouteToHostException: No route to host
  at java.net.PlainSocketImpl.socketConnect(Native Method)
  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
  at java.net.Socket.connect(Socket.java:529)
  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:564)
  at sun.reflect.GeneratedMethodAccessor638.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
  at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
  at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
  at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
  at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
  </code></pre>
  
  <p><a href="http://docs.oracle.com/javase/6/docs/api/java/net/NoRouteToHostException.html" rel="noreferrer">javadoc</a> says </p>
  
  <blockquote>
    <p>Signals that an error occurred while attempting to connect a socket to
    a remote address and port. Typically, the remote host cannot be
    reached because of an intervening firewall, or if an intermediate
    router is down.</p>
  </blockquote>
  
  <p>Is this error on client side or remote side or it can be either of these?</p>