Answer the question
In order to leave comments, you need to log in
How to connect to meteor server in android app via DDP?
I am using the ANDROID-DDP library to connect to the meteor server, but I get this error:
java.lang.Exception:
com.neovisionaries.ws.client.WebSocketException: Failed to connect to 'www.cloud.astrapos.ru:443':
Host is unresolved: www.cloud.astrapos.ru
// enable logging of internal
events for the library
Meteor.setLoggingEnabled(true);
// create a new instance
mMeteor = new Meteor(this,"ws://www.cloud.astrapos.ru:443", new InMemoryDatabase());
// register the callback that will handle events and receive messages
mMeteor.addCallback(this);
// establish the connection
mMeteor.connect();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question