LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing front panels with web server

Hello,
I'm working with LabView 7.1 and trying to publish a front panel by means of the web server.
The problem is that I'm only able to connect to the VI through the internet when both , the host and the remote are networked. 
When I try with computers outside that network the browser doesn't find the webpage.
Thank you for your help
Lian
 
 
0 Kudos
Message 1 of 4
(2,950 Views)
It is possible that your network is behind a router that does NAT, so your entire network has one single public IP address.
 
For your server to be reachable form the outside, you need to configure port forwarding on the router.
 
(It is also possible that there are firewall policies blokcing these connections).
0 Kudos
Message 2 of 4
(2,947 Views)

Hi,

It is a home network and I conect to internet through an ADSL modem. What to do in that case?

I tried also with firewall off.

Any suggestions?

Thanks a lot for your support.

Lian

 

0 Kudos
Message 3 of 4
(2,937 Views)
You need to know:
  1. The public IP of your router.
  2. The private IP of your LabVIEW server.
  3. The port used by your server.

First you need to forward the port on your router. Basically, you need to tell the router that incoming NEW connections to a certain port of the public IP of the router should get forwarded your server. (Without forwarding, the router only works for outgoing connections). Once the port is forwarded, clients located on the outside need to connect to the public IP of your router.

Possible complications:

  1. Your ISP might block certain incoming ports for security reasons. In this case you can configure a different port for the server.
  2. With some routers you will not be able to connect to your server (for testing) with a client located on the same LAN via the public IP of the router. Only routers that incorporate a loopback proxy support this. What is the brand and model of your router?

Good luck! 🙂

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