Results 1 to 2 of 2
  1. #1

    Unhappy Basic Chat Messenger Demo - not working over Internet


    I am new to LightStreamer and is trying out / exploring this demo : Basic Messenger Demo at :

    I have followed all the installation instructions and managed to get it up and running, locally (i.e. localhost://MessengerDemo), as I have re-configured the port to listen on port 80.

    In other words, it works perfectly in localhost (websocket connected successfully - connected over HTTP in streaming mode).

    However, when I access it over the Internet, say for e.g.:
    http:<my domain .com / IP Address>/MessengerDemo, the first page showed up, upon entering my nickname and lick Login, the connection was not successful, it keeps saying Connecting .. Disconnected and will try again.

    I have changed the port to 80 in js/lsClient.js i.e. var lsClient = new LightstreamerClient(protocolToUse+"//localhost:"+portToUse,"MESSENGER");

    Is there any other settings that I would need to set up / configure in order for this to run ? port 80 is configured and js/
    lsClient.js is also set. Pls advice.

    Thank you very much.

  2. #2
    Join Date
    Feb 2012
    Hi centrineon,

    I suppose that the problem happens because you left "localhost" as address of the Lightstreamer server. In your case it should work something like this:

    As an alternative, setting Lightstreamer Server address is not required when the front-end pages are supplied by Lightstreamer Server itself (although this scenario is advised only for demo purpose):

    Please check out here further details.




Similar Threads

  1. Chat Demo in Flash???
    By phamminh05 in forum Client SDKs
    Replies: 7
    Last Post: August 13th, 2019, 06:25 PM
  2. dotnet demo Portfolio-Basic not work fine
    By lisicnu in forum Adapter SDKs
    Replies: 3
    Last Post: December 8th, 2011, 03:41 AM
  3. .net version for messenger
    By in forum Adapter SDKs
    Replies: 3
    Last Post: February 23rd, 2011, 10:22 AM
  4. Demo not working within my framework...
    By athanasius2 in forum General
    Replies: 3
    Last Post: April 17th, 2009, 01:40 PM


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 03:52 PM.