This means your request did not get a response within some (default) timeframe. The reasons that no response was received is likely to be one of:
The IP/Hostname or port is incorrect
The IP/Hostname or port (i.e service)
is down
The IP/Hostname is taking longer than
your default timeout to respond
You have a firewall that is blocking
requests or responses on whatever
port you are using
You have a firewall that is blocking
requests to that particular host
Your internet access is down
Your live-server is down i.e in case
of "rest-API call".
Also, if you're trying to connect insecurely to an endpoint, set the scheme to "http":
serviceArgs.setScheme("http");
... View more