Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2011
    Location
    1
    Posts
    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 !

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    973
    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 APIs
    Replies: 1
    Last Post: August 21st, 2010, 03:29 PM
  2. LS in LAN without domain
    By ddhanis in forum Client APIs
    Replies: 1
    Last Post: June 24th, 2009, 09:13 AM
  3. Replies: 5
    Last Post: February 22nd, 2008, 10:37 AM

Bookmarks

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 09:42 AM.