From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP over Internet

Solved!
Go to solution

Hi,

 

I have a big step forward. 

 

Finally I configured at the inverse, that is, my home computer as server, and office computer as client. That works !!!!

 

At the inverse, it seems that my office computer or my office router reject the conection. Tomorrow, I will change both computers to check what is going on. 

 

As far as I know, I have to check router, firewall, and anti-virus. Anything else ??

 

Server is 5.154.114.180 and home is 178.156.106.87. Ports used are 8899. Are them opened? 

 

Right now the computers are off, they will be online in 12 hours time. Thanks a lot !!

 

By the way. Can I create multiple point to point TCP connections in the same server computer using the same IP, but different ports for each client connection which is connecting to the server? I think its far easier than Server- multi-client using the same port. This way, I expend a lot ports, but I have 65.000, too much for me. 

 

0 Kudos
Message 31 of 32
(515 Views)

Look at the example for multiple client handlers over TCP/IP.  It is designed that each connection can be initiated on one port and then handed off to a random high number port.  Since the connection is alreay established it goes through the SPI firewall.  Thus you can handle any number of clients (until you run out of thousands of ports).

 

It is called "Multiple Connections - Server.vi"

LabVIEW ChampionLabVIEW Channel Wires

0 Kudos
Message 32 of 32
(509 Views)