Results 1 to 10 of 12

Hybrid View

  1. #1
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Hi,

    thanks for your help... now my server is running
    lets go to the next doubt... in GETTING_STARTED.TXT, there is this note:

    "Open a browser and connect to the host running Lightstreamer Server on port
    8080. E.g.: "http://testpc.mycompany.com:8080".
    Note: if you changed the default <port> at step 3, you should use the new
    port here.

    You should see a welcome page containing the links to the installed demos.
    Click on the links to run the demos."


    I must configure a site (in my case, local) that points to which folder?
    I mean, testpc.mycompany.com is a website on IIS that i must create, right?
    Where are the installed demos installed?

    thanks....

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    no, you don't need any web server in order to see the demos, because Lightstreamer Server is also a web server, though it offers only basic functionality.
    So, you can ask for pages to Lightstreamer Server from your browser. You might get it via a URL of the form "http://testpc.mycompany.com:8080".
    As a web server, Lightstreamer Server supplies the pages it finds under the "pages" subdirectory, where the installed demos (actually, only the StockListDemo) are deployed.

    Of course, in a production scenario, you would need a "real" web server in order to supply your pages and Lightstreamer Server would be used as a streaming server only.
    This kind of deployment is not covered in GETTING_STARTED.TXT, but it is described in
    DOCS-SDKs\sdk_client_web\examples\StockListDemo\README. TXT
    as "External deployment".

    Dario

  3. #3
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Ok, but when i'm trying to open this URL, the page can not be found...

    IIS is started in my computer. Do i need to stop it, since LightStreamer is also a Web Server?

    Another thing, LightStreamer Server is installed in drive "D:\", is there any problem?

    Sorry for too many questions, but i have been testing those things only late night at home.

    thanks for your help...

    p.s.: How LS identify "http://testpc.mycompany.com:8080" ? Can i configure anything to change this URL or create another one?

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Quote Originally Posted by rmusco
    IIS is started in my computer. Do i need to stop it, since LightStreamer is also a Web Server?
    No you don't. Just let them listen to 2 different ports (e.g. ISS port 80 and LS port 8080)
    Note that LS will not start if binded to an occupied port

    Quote Originally Posted by rmusco
    Another thing, LightStreamer Server is installed in drive "D:\", is there any problem?
    No problem.

    Quote Originally Posted by rmusco
    p.s.: How LS identify "http://testpc.mycompany.com:8080" ? Can i configure anything to change this URL or create another one?
    The URL is related to your machine not to Lightstreamer.
    Lightstreamer will answer to each request sent to the port (ports) it is listening to.
    If your Lightstreamer server is listening to port 8080 you can reach it with http://localhost:8080/ or http://127.0.0.1:8080/ or - if your PC is in a LAN - with http://IpOfYourPC:8080/ (where IpOfYourPC is of course the IP of your PC)

    Those ways to reach LS are all ok, btw when your pages are deployed in an external web server then you need to reach LS server via a name (e.g. http://mypc.mycompany.com:8080). To accomplish this you must set up a DNS or edit the host file (under windows is usually located here: C:/windows/system32/etc/drivers/host )

    Hope that helps,
    Mone

  5. #5
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Mone,

    thank you so much...
    it's 10 to 1 a.m. now in Brazil... It's impossible to think by myself at this time... hehe
    Now i can see... of course is with http://localhostort... just like any webserver.

    Thank you and sorry for some "stupid" questions...

    My goal is to do a web page in .NET, C#, with LS technology... I will do it based onde the DOCs-SDKs exemples.
    The Pages directory is the root of LS Server, right? My pages, in .NET, must be inside this directory , am i right?

    Well, from now one, my doubts will be about code... it's another topic of the forum...
    thank you both for your help...

    I'll be back soon... heheheh

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Hi,

    I just would like to point out that the basic web server functionalities of Lightstreamer Server only include supplying the HTML files it finds under the "pages" directory and subdirectories.
    I don't understand what you mean by "pages in .NET"; however, note that ASP or similar pages with server-side processing are not supported.

    Dario

  7. #7
    Member
    Join Date
    Nov 2006
    Location
    Rio de Janeiro
    Posts
    13
    Dario,
    I mean ".aspx" files.
    Just like in your demo (http://app.lightstreamer.com/AtlasDemo/).

    How can i do the same as your .NET demo? In which directory my ".aspx" pages should be into?
    When you say that server-side processing pages ar not suported is in the Evaluation License?
    Because that is just what i need to do.

    Rafael

 

 

Similar Threads

  1. Doubts
    By eduramires in forum Adapter SDKs
    Replies: 3
    Last Post: March 3rd, 2008, 09:12 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 10:15 AM.