Hi,
I'm new at Lightstreamer server and I'm trying to connect my application in Java with Lightstreamer. I've tried this https://github.com/Weswit/Lightstrea...b-node-adapter and when I'm running node adapters.js it says that localhost(I replaced LIGHTSTREAMER_SERVER_HOST with localhost) is not found
That is this code:

  1. Get the net package and create the connections to Lightstreamer server. Note that the ports are the same used in the above file; LIGHTSTREAMER_SERVER_HOST is the host of the Lightstreamer server e.g.: "localhost".

    var net = require('net'),reqRespStream = net.createConnection(8001, LIGHTSTREAMER_SERVER_HOST),notifyStream = net.createConnection(8002, LIGHTSTREAMER_SERVER_HOST),metadataStream = net.createConnection(8003, LIGHTSTREAMER_SERVER_HOST);

can anyone help me?
thanks