I have an Oracle DB connected to a Messaging Server (RabbitMQ). The DB polls the messaging server every 1 minute and very periodically I get the error message above. Can anyone suggest why this is happening? If I look at the Class Hierarchy for NoRouteToHostException java.lang.Object extended by java.lang.Throwable extended by java.lang.Exception extended by java.io.IOException extended by java.net.SocketException extended by java.net.NoRouteToHostException Is there any code that I can write under the NoRouteToHostException Class which will identify the node on the network within the socket connection that is causing the error?