LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connect to webservice

I can connect to my localhost but when I try to connect to my webservice from another computer it will not work

 

this is what I use:

 

http://"My IP Address Here(The IP address of the computer with the program):8080/WebService/3/4

 

I get a connection error. I have deploy the webservice and everything made sure that I am correct on the link and still I get a connection error

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 1 of 29
(3,123 Views)

Did you check your Firewall?

0 Kudos
Message 2 of 29
(3,089 Views)

Harold Timmis,

 

As jojp mentioned have you check your software and NAT firewall settings?  Have you disabled any antivirus on each machine?  Are you able to ping the host machine from the target machine?  Can you see the host machine from the target machine through windows (network computers)?

 

Regards,

 

Sam K

Applications Engineer

National Instruments

0 Kudos
Message 3 of 29
(3,079 Views)

Yes to all your questions I check them, I figured it out everything works fine

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 4 of 29
(3,075 Views)

The URL should be something like http://yourserver/ServiceName/ViName/value1/value2

 

You seem the have missed one part either "Servicename" or "ViName".

Please check NI-DSM for the correct path to your service.

0 Kudos
Message 5 of 29
(3,070 Views)

Can you please explain how you achieved this?

 

I am having the same problem.

0 Kudos
Message 6 of 29
(2,919 Views)

You need ServiceName and VIName

0 Kudos
Message 7 of 29
(2,913 Views)

Thanks for your reply jojp:

 

I have put those, since I am able to connect from a browser on the same pc, but when I use a different PC (on the same network), it says url not found. firewall is off, and I can ping the development PC from the second PC.

 

Any ideas?

0 Kudos
Message 8 of 29
(2,904 Views)

Check the Access Settings in LabVIEW (VI Server & Webserver. for testing set all to *.

For security you can change the permissions back to single ip addresses later.

0 Kudos
Message 9 of 29
(2,900 Views)

I did as you suggested but still no luck. Do I have to install some drivers on the client side?

0 Kudos
Message 10 of 29
(2,892 Views)