I am trying to connect to a running meteor application using a Java DDPClient.
I am using this Java ddp client.
I just added these couple of lines to the Android activity:
DDPClient mDdp = new DDPClient(sMeteorIp, sMeteorPort);
mDdp.connect();
but I got and exception from the DDPClient::handleError(Exception ex)
:
failed to connect to localhost/127.0.0.1 (port 3000): connect failed:
ECONNREFUSED (Connection refused)
The meteor application is up and running (version is 0.8.3, the latest for windows).
The meteor application is here: https://github.com/stefanopiovesn/ProteinTracker
The java ddp client is here: https://github.com/stefanopiovesn/DDPClient
A working ddp javascript client is here: https://github.com/stefanopiovesn/AsteroidSample
Any idea why this error happens?