hi everyone
I have a question to ask for you ?
How can i use the IP such as '10.1.3.19' in the method "pushPage.context.setDomain()" and " lsEngine.connection.setLSHost()" in misc.js for web application?
thank you !
Printable View
hi everyone
I have a question to ask for you ?
How can i use the IP such as '10.1.3.19' in the method "pushPage.context.setDomain()" and " lsEngine.connection.setLSHost()" in misc.js for web application?
thank you !
What you pass to setDomain will be set as the "document.domain" property
of the page. Hence, it must obey the restrictions browsers pose on this property.
As far as we know, using an IP address is never allowed.
You cannot have a Web Server and Lightstreamer Server interoperate if you
access them through ip addresses.
As long as you are just testing, we suggest leveraging the "hosts" file of you client machine and assigning fake hostnames to the machines which run the Web Server and Lightstreamer Server.