Please help! I have been following this and a few other threads concerning the binding of domain and host. And have been unsuccessful getting a test environment up and running.
I am successful when accessing Lightstreamer directly on port 8080, but my setup fails when I try with webpages on my webserver.
I have Windows XP
I have Lightstreamer running on port 8080.
I have IE as my client.
I have Netbeans with Tomcat as my webserver.
Lightstreamer config I have.
<http_server name="laptop">
My HOSTS file contains
192.168.1.88 mycompany.net
My computer is called 'laptop' with domain suffix 'mycompany.net'
My HTML code contains
page.context.setDomain( "mycompany.net" ); // (set the domain when deploying on web server)
page.onEngineCreation = function( engine )
{
engine.context.setDebugAlertsOnClientError(true); // (set false in production)
engine.connection.setLSHost( "laptop.mycompany.net" ); // (set the hostname when deploying on web server)
engine.connection.setLSPort( 8080 ); // (set the port when deploying on web server)
I look forward to someone pointing out my obvious mistake!
DN