I am trying to connect via HttpPost and send a username and password to a website and then receive a string from that website. I have tried various methods that have worked for
Please follow these solution may be among these one solve your issue.
1> check your manifest file internet permission there or not.
2> check your url with browser by rest client and pass the appropriate request.
3> open the url in mobile like:- http://your ip address/port that's it just for checking do you have a permission or not to open this url in mobile.