Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2011

    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 '' in the method "pushPage.context.setDomain()" and " lsEngine.connection.setLSHost()" in misc.js for web application?

    thank you !

  2. #2
    Join Date
    Jul 2006
    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

  1. setDomain with IP address issue.
    By Sathyaayyanar in forum Client SDKs
    Replies: 1
    Last Post: August 21st, 2010, 03:29 PM
  2. LS in LAN without domain
    By ddhanis in forum Client SDKs
    Replies: 1
    Last Post: June 24th, 2009, 09:13 AM
  3. 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
All times are GMT +1. The time now is 07:15 PM.