Hi,
Recently i tried my android coding, it can direct me to the PHP file inside the htdocs folder. But after i change the Apache port due to the Error: Apache shutdown unexpectedly. Then it unable to connect the localhost anymore using the initial coding. Is it i need to change the http://10.0.2.2 ? Please help. Thanks
Apache port: 80 Change to 8081.
Browser:
http://localhost:8081/my_folder_inside_htdocs/check.php ( Can open through google chrome.)
Coding:
httppost= new HttpPost("http://10.0.2.2/my_folder_inside_htdocs/check.php"); ( Unable to read the php file anymore )