Discovery between 2 PC's doesn't work #2612
-
Hi, I am tring to write a simple subscriber/publisher between 2 PC's I connected the 2 PC's P2P with a direct Lan cable, and used default settings like the HelloWorld example. But it's not working. Also added 100.0.0.2 as Any good way to debug this kind of issues? I see Publisher -> subscriber ICMP messages are getting a port unreachable error. Appreciate any help understanding the issues.. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Nir-Az I took a look at your capture, and it looks like the Publisher is deaf. Maybe the Windows firewall is active.. As for the ICMP messages, using an The scenario you mention is one we test before every Fast DDS release. We have just checked it here, and it works as expected. |
Beta Was this translation helpful? Give feedback.
@Nir-Az I took a look at your capture, and it looks like the Publisher is deaf. Maybe the Windows firewall is active..
As for the ICMP messages, using an
initial_peer
with port 0 will result in trying to communicate on the default port for participants 0 to 3, that is why there are 3 port unreachable messages every time the publisher sends 4 DATA(p) announcements, as only the one directed to the port for participant 1 (port 7412) succeeds.The scenario you mention is one we test before every Fast DDS release. We have just checked it here, and it works as expected.