LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create labview web server

Hi to all,

   I have an application, and I'm trying to study what I have to do to publish a front pannel over the internet. I'd like to monitor the front panel over the internet, using a web browser. I'm using Labview 7.0, taking the feature "Web publishing Tool". I've just gone to Options, and configurated the "Web Server:Configuration", "Web Server: Browser Access", "Web Server: Visible VIs". The thing is that I can monitor the front panel on my local machine (using my private IP, from LAN) using whatever Internet browser, but when I ask a person outside this LAN to connect the front pannel, there is no success, the page does not exist. I've configurated all browser can access, all IP direccions are permitted and all VI's are visible.

   I thing I've missed something, but I don't have any idea. What could it be happening?



Thank you,

Alfonso.
0 Kudos
Message 1 of 5
(3,062 Views)
You might also need to change the firewall settings in widowns XP.
 
If you are behind a router doing NAT, you need to configure the router to forward incoming connections to port 80 (or whatever you're using) to your LAN machine. After that, outsiders need to contact the public IP of your router and it will do the rest.
 
Give us a bit more details on your network topology, and we can provide more detailed help. 🙂
Message 2 of 5
(3,060 Views)
Hi altenbach,

   Thank you for your answer.  I've changed the firewall settings of Windows XP, including Labview in its "exceptions", and I've even disabled it, but no changes occurred.

   I'm connected to the internet using a Wireless Net that I receive at home (I don't know where is the router, and I don't know its configuration). I'm also sure that the router is doing NAT, and when I use my public IP address I can't access the front panel (even in my machine!!) I think the problem is that the router does not permit any incomming connection to the 80 port.

   Is there any way to check it?

Sincerely,


Alfonso.
0 Kudos
Message 3 of 5
(3,053 Views)

If your router is doing NAT, you must configure port forwarding.

Under NAT, many LAN computers with private IPs all share one single public IP. Without your help, the router does NOT know which manchne on the LAN is supposed to recevie the connection. By "forwarding" a port in the router, you are telling the router that incoming connections to port 80 of the public IP should go to a certain LAN IP.

Without port forwarding, the router can only handle outgoing connections, because then he knows where on the LAN to send the incoming return packets: To whatever machine requested them earlier. (Of course there are also ALGs and UPnP to complicate things further...)

Even if the ports are forwarded correctly, it might not be possible to connect to the server from within the LAN via the public IP. This requires implementation of a loopback proxy inside the router and not all models support this.

In any case, you need to find out what router you have, you need the router password, and you need to know how to forward ports, There is no way around it. If you don't have access to the router doing the NAT, you're out of luck.

0 Kudos
Message 4 of 5
(3,039 Views)
Hi altenbach, I'll try to find the location of the router, and I'll try to change port configuration, if I'm allowed to do that.

thank you for your advice.


Sincerely, 

Alfonso
0 Kudos
Message 5 of 5
(3,032 Views)