LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error out 56: TCP Open Connection in tube.vi

I have to hand in my homework tomorrow but I still can't solve the problem....

 

I tried to use the TCP reader to connect two computers so people can play the game together on two separate computers, but it continues to show an  error out 56. 

After starting to run tube.vi, you can login with account 123 and password 123, go for 2 players, and the problem shows!

Thanks in advance for any help!

And also I want to check that for port, it is up to me to use any number above 1024 right?

0 Kudos
Message 1 of 3
(81 Views)

I and many other forum members are not on LabVIEW 2024 yet.  If you could save your VIs back to 2019 or so we could see them.

 

For port choice, anything above 1024 is technically allowed, as 1023 and lower are supposed to be system ports, yes.

 

While it's possible you have a code problem that I can't see, it's also possible that you're being blocked by the Windows firewall.  Have you tried temporarily disabling it on the network connecting your two computers to each other?

 

Is your program set up in such a way that you can run it two times on the same PC and have it connect to itself to isolate the problem to either your network or to the code?

0 Kudos
Message 2 of 3
(52 Views)

I tried turning down the firewalls and tried connecting two computers to each other (through mobile hotspot, not sure if that is what you meant). I also checked the TCP/IP box in tool->options->VI server, and now the error message is 60 and on other computer 63. Thanks a lot for your help

JudyPumpkin_0-1734633495642.png

 

0 Kudos
Message 3 of 3
(35 Views)