7 Replies Latest reply on Jan 14, 2015 1:50 AM by gaohoward

    Unable to connect Remote JMS client while trying to connect with  Standalone hornetq server (with bind address as 0.0.0.0)

    ajinkya.bambal

      I have standalone HornetQ server (2.3.0.Final) running in non-clustered mode . I  have added bind address and connector/acceptor host as 0.0.0.0 in hornetq-beans.xml and hornetq-configuration.xml . The machine where hornetq deployed has two interfaces with IP address as 192.168.75.206 , 192.168.75.208 .

              When any JMS client tries to connect with HQ server (with lookup address as 192.168.75.206) ,  it is getting connected successfully if both JMS client and server are on same physical machine. But  if JMS client is running at remote machine (192.168.75.212) and tries to connect with HornetQ server (with lookup address as 192.168.75.206) , following exception is coming at JMS client side ,

       

      com.alacriti.pem.jms.publisher.EventPublisher.connectAndCreateSession()
      [main][PF2-01:08:54,882][ERROR][EventPublisher ]: [app=backend][CompntId=Workflow]Error in creating publisher
      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:
      java.net.ConnectException: Connection refused]11:17 AM

       

      Caused by: java.rmi.ConnectException: Connection refused to host: 0.0.0.0; nested exception is:

       

       

      PFA of the hornetq conf files .