Hello,
I am new to lightStreamer in fact I have started exploring it today itserlf.
I was able to successfully create a setup and lightstreamer is running on my machine, thanks to great tutorial of yours.
But now while trying for Hello Worl program, there is this error:
'lightstreamer.js:204 POST
http://localhost:8080/lightstreamer/create_session.js 404 (Not Found)'
as i have changed defalut ports of lightstreamer, but its still making call to localhost:8080.
Following is block of code responsidble for calls.
<script>
require(["LightstreamerClient","Subscription","StaticGrid"],function(LightstreamerClient,Subscription,StaticGrid) {
var client = new LightstreamerClient(null,"HELLOWORLD");
client.connect();
var grid = new StaticGrid("hellogrid",true);
var subscription = new Subscription("MERGE",grid.extractItemList(),grid.extractFieldList());
subscription.addListener(grid);
client.subscribe(subscription);
});
</script>
Please let me know what should I have to do next ?
NOTE :: I am using lightStreamer 5, as I can't use latest one.
Regards,
Avinash