Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2012
    Location
    Dublin
    Posts
    1

    Could not connect to light streamer server

    Hi,

    I was trying to connect Lighstremer with Adapter for the first time in a VPS. I am getting the following errors when I start adapter. Lightstreamer is waiting for the Ports.

    Could not connect to Lightstreamer Server.
    Make sure Lightstreamer Server is started before this Adapter.
    System.Net.Sockets.SocketException: No such host is known
    at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
    at Adapters.HomepageAuctionModule.Main()

    I have given the correct hostname in all config files and in initLS.js files also.
    But still getting the same. Please help me

    Many Thanks
    Bejoy

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi Bejoy,

    looks like your .NET application is not able to resolve the hostname of the machine where your Lightstreamer server is.
    From the command line try to use nslookup to resolve the address you've used, is it correctly resolved?

    Note that the remote part of our .NET adapter does not have, by default, any configuration file; if you're using our standalone_launcher the server name is configured in the bat file. Otherwise you should refer to who wrote the launcher for your remote adapter.

    Also note that we do not have any initLS.js file so I can't help you with that.

 

 

Similar Threads

  1. connect Light streamer and j2EE web application
    By pradeepgamage in forum Adapter APIs
    Replies: 7
    Last Post: May 17th, 2012, 09:21 AM
  2. Replies: 3
    Last Post: November 14th, 2011, 09:33 AM
  3. RTD Demo will not connect to Lightstreamer Server
    By krohnjw in forum Client APIs
    Replies: 23
    Last Post: February 8th, 2011, 01:47 PM
  4. Replies: 5
    Last Post: September 8th, 2009, 03:07 PM
  5. Replies: 1
    Last Post: February 22nd, 2008, 08:54 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 11:58 AM.