When i running my hello world application in worklight its showing an error in the Emulator..
The connection to the server was unsuccessful.
Could you please tell me how to fix this error...
This topic has been locked.
Pinned topic [Solved] Application Error : The connection to the server was unsuccessful
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
IdanAdar 2700059KWB288 Posts
Re: [Solved] Application Error : The connection to the server was unsuccessful2012-04-06T15:50:06ZThis is the accepted answer. This is the accepted answer.Because you did not provide any information at all (Worklight version, which environment), I will assume you are referring to Android. In Android AVDs, this problem typically means that you did not provide the correct IP address for the application to connect to.
In your application's application-descriptor.xml file, make sure to use your local IP address as a value in the worklightRootURL element. Build and deploy, and run again the application in the emulator.
SystemAdmin 110000D4XK570 Posts
Re: [Solved] Application Error : The connection to the server was unsuccessful2012-04-13T14:30:18ZThis is the accepted answer. This is the accepted answer.Thank you.. Now its working Good!!! :lol: