android Failed to connect to "XX.XX.XX.XX"

I use the HttpClient of cocos2dx. it works well on iOS.
On android, keeps the app running and the wifi closed, the text “Failed to connect to”XX.XX.XX.XX" comes out.
Even open the wifi,it shows “Failed to connect to”XX.XX.XX.XX" also.

I already have added the permissions.


can everybody help me??

And I have been cleared HttpClient.

CCHttpClient *client = CCHttpClient::getInstance();
client~~>destroyInstance;
client~~>release();

That’s no help.

eeeee,
“Failed to connect to”XX.XX.XX.XX"
My Ip address is wrong………