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

android Failed to connect to "XX.XX.XX.XX"
0.0 0


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();

That’s no help.


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