when I am trying to connect publisher and subscriber running on different physical m/cs. I am getting these error. can anyone help in solving these.
(18788|1084229952) ERROR: Failed to connect. connect: Connection refused (18788|1084229952) ERROR: Failed to make active connection. (18788|1084229952) ERROR: TransportImpl subclass was unable to find or create a DataLink for local publisher_id (11) to remote subscriber_id (12). (18788|1084229952) ERROR: Failed to reserve a DataLink with the TransportImpl for association from local [publisher_id 11] to remote [subscriber_id 12].
It looks like you are using OpenDDS for your tests. The questions you are posing are very specific to that implementation and have nothing to do with DDS in general. If nobody answers your question here, it might be an idea to pose them to the OpenDDS people directly.
Maybe good to know that there are also DDS implementations that don't rely on creating (point-to-point) dataLinks from local publishers to remote subscribers but utilize multiple priority pre-emptive priority-lanes dynamically choosen by the information's priority (DDS transport-priority QoS policy)