01-03-2019 11:53 PM - edited 01-03-2019 11:54 PM
Hi guys,
I have been working on the shared variable in LabVIEW for a little while. I just encountered an issue with port forwarding of the shared variable. I have been looking for the solution for a while but I have not yet managed to solve the problem.
I have two PCs, a server and a client, and I want to make them communicate with each other over the internet. It is successful with the shared variable when both of the computers are publicly accessible.
However, for some reason, I wanna put one of the client pc behind a router. In other words, the client pc is in a subnet and the router is publicly accessible.
The solution I found is:
1. Change the setting of the NAT of the router with specific port 2324 for shared variable
2. Add the port to the IP address. For example, 120.157.XXX.XXX:2324
But it did not work for my program and I am not sure the reason why. I wonder whether I used the wrong port for the shared variable. How can I find and confirm the port used by the shared variable in my program?
01-04-2019
01:19 PM
- last edited on
08-20-2024
05:32 PM
by
Content Cleaner
This Configuring Software and Hardware Firewalls to Support National Instruments Products whitepaper may have your answer...
01-04-2019 11:21 PM
Thanks RTSLVU,
I just have a following up question about the ports been used. In the link above, there are multiple TCP ports used by the shared variable. Is there a way that I can find the port been used?
When I mentioned TCP port 2324, I actually mean TCP port 2343.