06-29-2022 05:16 AM
Hi everyone, I'm new here. I use the example ZMQ pub-sub. But in the example, I only can send the data to the local IP. I want to publish the data to specific public IP, like tcp://192.168.xx.xx:5555
06-29-2022 08:45 AM
First, 192.168.x.x is not a public IP address. It is a private address. You should never see this address on the Internet. It will only appear on a local network. Secondly, the TCP privatives in LabVIEW have no problem communicating with any valid IP address. If you are not able to communicate with it this is a network setup issue, not a LabVIEW issue. Common issues would be that you are not on the same subnet and you do not have a route to that address. A firewall could be blocking the traffic. You will need to work with your IT group to determine what the root cause is.
From your PC, can you ping the address? Ping may not always work as it could be disabled on the network or the device. However, it is a good first step. You could also try running tracert (tracert <IP Address>) and see if you have a route to that network. Check the firewall settings on your PC and verify that you are allowed to connect to that address range and port.