-
April 6th, 2011, 03:21 PM
#1
how can i use IP address for the domain
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 !
-
April 7th, 2011, 08:53 AM
#2
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.
Similar Threads
-
By Sathyaayyanar in forum Client SDKs
Replies: 1
Last Post: August 21st, 2010, 03:29 PM
-
By ddhanis in forum Client SDKs
Replies: 1
Last Post: June 24th, 2009, 09:13 AM
-
By indrajit in forum Client SDKs
Replies: 5
Last Post: February 22nd, 2008, 10:37 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 03:32 AM.
Bookmarks