LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Network stream Error -314004

Hi All.

 

I would need a help regarding Network streams. I´m using it without any problems in one application. Now I made another one and I´m not able to make it work. It worked ok actually but after few days is not able to establish the connection (no changes in apps or firewall). It is running on company network. Firewall has been setup according NI documentation and all port ranges has been opened and I have a confirmation from firewall guy that it is not blocking the comunication. He can see that "client" is trying to connect but the "server" side is not answering.

 

What can be blocking point? I´m still getting very general error -314004.

 

I would need deeper information how it is working - what service is responsible for establishing the connection? Is it NI Application Web Server? Should I see opened a listenning port 2343 all the time? Any packages that are needed to be installed?

 

Recently there were some Win updates installed. Has anyone alse problems with some app after update?

 

Thank you for any comments.

 

Pavel

0 Kudos
Message 1 of 4
(2,530 Views)

Have many internet adaptors do you have on your current system? Are you connected to your Ethernet adaptor but have your wifi adaptor turned on? You might be sending the wrong IP address to your network endpoint. 

 

Try turning off all adaptors apart from the one you are making the connection through. The IP to string function will give the first adaptor's IP address, not necessarily the correct adaptor.

 

Are you giving both endpoints IP addresses? Bear in mind that you only need to give one endpoint the address. I usually let the host machine have the remote's IP, not vice versa.

CLA - Kudos is how we show our appreciation for comments that helped us!
0 Kudos
Message 2 of 4
(2,524 Views)

Thank you for your reply. I just checked adaptors - only one is connected. IP address is fine - I´m using the same one for remote desktop connection.

 

My connection strings are:

Server:

reader name - "ni.dex://IP:app.exe/serverIN0"

writer url - ""

Client:

writer name - "client0"

reader url - "//IP:app.exe/serverIN0"

 

In both cases IP is IP address of the server PC

 

0 Kudos
Message 3 of 4
(2,503 Views)

I remember writing a reply about Network Streams that I thought was about 5-8 months ago that explained "what NI Forgot To Tell You about Network Stream Naming".  Couldn't find it.  Well, it was more like 5-6 years ago (but fortunately solved the Poster's problem).  I don't think the names you posted exactly fit the model I suggested (which does not mean you are wrong, as there are some "optional" pieces), but you might check out my old post, found here.  Reply here to let us know if this helps (I hope so ...).

 

Bob Schor

0 Kudos
Message 4 of 4
(2,493 Views)