During app development you may be interacting with local servers such as LAMP(Linux,Apache,MySQL,PHP). Every one knows how to interact with local server with computer. But weird thing is how to interact it using Android Device.
It is simple, go through steps below,
1) Get the ip address of your laptop / desktop by
$ sudo ifconfig
HINT : inet addr: 192.xxx.x.x is your ip address
2) Make sure your device has internet, and open any preferred browser in your android device, to start interacting with LAMP type address as below
NOTE : Make sure your device has Internet.