EL Kamel
EL Kamel

Reputation: 864

How to resolve : Failed to deploy the application to Worklight server Connection to IP adress refused)

I am new to IBM Worklight Studio , I installed it and trying to deploy my first Hybrid app on Worklight Server . The problem is the server isn't starting and the following message is displayed :

[2014-05-16 14:21:58]             Project 'HelloWorldHelloWorldAndroid' was imported. 

[2014-05-16 14:21:58]             Application 'HelloWorld' with all environments build finished.

[2014-05-16 14:21:58]             Deploying application 'HelloWorld' with all environments to Worklight Server... 

[2014-05-16 14:21:59]             Failed to deploy the application to Worklight server: please verify that the Worklight server is started and reachable.Connection to 
- MyIpAdress:10080 failed. (Connection to http://myIpAdress:10080 refused) 

What Should I do to fix this problem to run my project ?

Upvotes: 0

Views: 3556

Answers (2)

Rajesh Madhu
Rajesh Madhu

Reputation: 679

Try to delete your bin folder contents.Clean your project and restart the server.

Deploy your application again.

Upvotes: 0

EL Kamel
EL Kamel

Reputation: 864

You have to verify the location of the projects's war file in the server's parameters to deploy the project that you are working On . And to to right click on the server and choose clean project on next Startup . It will work

Upvotes: 1

Related Questions