I have Spring MVC web application which I want to connect with mine android application in order to use the rest services. I am working with my android phone, ALCATEL ONE TOUCH POP D5, but I didn't succeeded to connect it to access the localhost. I tried with finding my ip address with ipconfig and type it in the browser of the phone, but it doesn't show anything. I also, enabled port 80 in Windows Firewall. I tried with usb tethering, also failed.
My laptop and my android device are on the same network, and I use the phone's network with Wi-Fi tethering.
I would like someone to explain me, the whole scenario about connecting the android device to localhost?
I tryed the solutions from various questions, but they don't seem to work for me, or I am skipping something. Here are the solutions I tried: How can I access my localhost through Android phone? Accessing localhost of PC from USB connected Android mobile device