here\'s my logcat and the first line the url i try to connect with and it\'s valid url
her is my code that cause the error and make the connection to refuse
Since local host for Emulator and Laptop is different, you need to do following:
ipconfig command in your Laptop's command prompt.localhost, you should use ipAddress in your URL. So your address will become:
http://<ip address>/lotus/getstats.php?category=ATM