I'm trying to use node.js to use Lightstreamer to stream my real time data and node.js as my adapter, to host pages and to host additional out-of-band data. I used the github project, Weswit/Lightstreamer-lib-node-adapter, as a template for the adapter. The problem I'm having is with my following lines on the client side:
client = new LightstreamerClient("
http://localhost:8080/","PROXY_NODE");
client.connect()
I'm running everything on the same PC, for now, so I'm using localhost on the client side. But I get the following error on the "client.connect()" line as seen from the Google Chrome javascript console:
GET http://192.168.0.14:3000/null404 (Not Found)
I also noticed node.js did get a request for
http://192.168.0.14:3000/null, which of course was not there. Why is LightstreamerClient even trying to go to my web server at port 3000 (the node web server)? What am I doing wrong?