LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Basic TCP/IP and problems

Hello,

I have been trying to communicate between two VIs using UDP and then TCP/IP.
- For the TCP I have used the example VIs 'Multiple Connections - Server/Client'
- When the VIs are running on the same machine it works fine.
- When using TCP/IP I have replaced 'localhost' with the ip address of machine found using the 'ip to string' VIs and it still works fine.

-When I run the VIs on two different machines that are both connected to the same network it does not work.  The UDP client of course shows no error and the TCP/IP client vi shows Error 63 - The network connection was refused by the server.  The TCP/IP server vi runs okay.

-I know the ports are correct from my tests on the same machine.
-I believe it must be a firewall problem on the PC.  I believe it is not a network issue as I've taken both laptops home and tried to do the above with my home network but it still didn't work.

-Our work PCs run Symantec Endpoint Protection and I believe I must need to add some exceptions to this program.  I would need to get our IT department to do this as it is locked-down.

-The problem is that I don't fully understand what I need to ask IT to do.  They won't be keen to do it anyway but I certainly need to approach them with clear information on what I need if I am to stand any chance.  Can anybody please advise? 

Thank you for any help you can offer,

Best regards,


Martin
0 Kudos
Message 1 of 2
(2,504 Views)
You're dead on. You will have to ask them to open up the ports you want to use for your application.
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 2
(2,487 Views)