I am using XAMMP with Eclipse. If I use android emulator all works but if I use a real phone, Eclipse says that the connection was refused. I am using for the connection:
http://10.0.2.2:80
Do I need an other address?
I am using XAMMP with Eclipse. If I use android emulator all works but if I use a real phone, Eclipse says that the connection was refused. I am using for the connection:
http://10.0.2.2:80
Do I need an other address?
I was confused because I didn't know where this address comes from (10.0.2.2) but finally I just opened wifi, connect to my wifi spot and change that address putting the subroute of my pc, the local ip. (192.168.1.x). For anyone who wants to connect through internet I found this: