05-08-2014 04:37 AM
Hello All,
I have an example which use simulated signal with its web service generated by LabVIEW. Then an application of this web service was created using NI web UI builder. And application was build and deployed on NI Cloud Portal, a zip file was downloaded of that project after build and deploying application.
The downloaded file contain a thin client application like :index.html page, readme file etc.
Now problems is this index.html runs easily on http://localhost:8080/appname/index.html or on my computer name like
http://iaa42:8080/appname/index.html web page runs and shows updated values in indicators and graphs but when i use ip address of my system like http://192.168.1.6:8080/appname/index.html , index.html runs but the values in indicator and graphs remains 0 (zero) constantly. how can i get all indicators and graphs updating continously on by using my ip address like same when i use localhost or computer name in url bar. 1st problem is this.
Now 2nd question.
I get a page index.html in a zip file built by NI web UI builder now i want this page to be viewed by every one world wide
where should i upload that code. Should NI Cloud Portal be my hosting server for that web page ? or i have to purchase a domain other than NI cloud portal?
Thanks in Advance
Regards
Waqas
05-09-2014 12:27 PM
Hi Waqas,
For your first question, my first thoughts turn to your router (which I assume you are using with a 192.168.x.x address). Are you sure you are configuring your ports and firewalls to allow NI services to function? Here is a really good resource on how to check if your ports and firewalls are configured properly:
http://www.ni.com/white-paper/12402/en/
For your second question, when you deploy a web service you are hosting it on your local machine. If you wanted to host it elsewhere (i.e. another server or another domain) you would have to be sure that the server hosting your application has the LabVIEW run-time engine installed.