A message such as the following is received: Error: java.io.IOException: Connection timed out.
Cause
The client was unable to connect to the URL provided for the broker within the specified timeout limit. This is most likely due to a bad connection string or a networking issue between the hosts.
Solution
Verify that the connection string is correct.
Test the connection between the hosts by means of ping and netstat.
Verify the status of any firewall that may be running on the hosts.