08-21-2024 04:13 AM
Its been a week, but i actually found the solution. The solution is here :
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Lz2SAE&l=de-DE
In there it explains
By doing this, I got access. I found a port by using 0 and service name and finding a open port for program to work.
But what still I dont understand is different from the ports which i found is open via cmd window. In cmd window when I typed netstat -ano, it gave me a list of ports which are open and not open. And the port i found through the method above is not in this list. And the port that was open in the list from cmd window, one of the example being 45321 doesnt work also. So why is that? That I still dont understand. But thankfully, I was able to set the program working.
08-22-2024 10:46 AM
Are you sure you made a firewall rule to allow incoming TCP on your listening port? You should not need to set up viserver to use TCP primitives!
09-02-2024 08:35 AM
I tried the firewall thing. I even got the support of my IT engineer to help me with opening the firewall of the port and it still didnt work. It only worked with when I set up the VI server machine list with the ip address.