It worked ! Thanks a lot !! "setLSPort" .. how I missed the "LS" in that...
Thanks again... it's working really nice.
It worked ! Thanks a lot !! "setLSPort" .. how I missed the "LS" in that...
Thanks again... it's working really nice.
modification done in misc.js file
deployed in separate PC and changed in host fileCode:pushPage.context.setDomain('www.mydemos.com');
where i have installed the LS ServerCode:lsEngine.connection.setLSHost('MY_IP_ADDRESS');
LSPortCode:lsEngine.connection.setLSPort('80');
In host file i have modified like this in web server [localhost] where i configured the web application using IIS
when i tried to run the application [http://www.mydemos.com/demos/stocklistdemo/index.html] i actually opens the demo pages but its not connecting to the LS server and getting this errorCode:127.0.0.1 www.mydemos.com # localhost 192.168.35.119 localhost # LightStreamer Server
1: 13:12:27,357 ER Unable to create the Engine.Retrying. If the problem persists, please check your configuration. bind. can anyone let me know how to configure it properly.
My requirement is to run the web application and Lightstreamer server in separate servers and it should work properly
now i think its trying to connect to lightstreamer server but it throwing error, attached the error image and these are the modification that i have done.
misc.js file modified in web server
host file modified in web serverCode:pushPage.context.setDomain('www.mydemos.com'); lsEngine.connection.setLSHost('push.mydemos.com'); lsEngine.connection.setLSPort('80');
host file modified in lightstreamer serverCode:192.168.35.119 push.mydemos.com # LightStreamer Server 192.168.35.92 www.mydemos.com # Client Web Application
after modifying this i got the error "ER exception FFT is not defined" check the attachmentCode:192.168.35.119 push.mydemos.com
hi,
sorry for that, the misleading FFT error message is issued when the domain and host settings are not compatible;
change the domain setting like this:
Thank you very much Mone, its working now and for subdomain also working, now i will concentrate on getting data from Database using C#.
Bookmarks