For this you have to perform some operations which are listed blow :
1-Turn on Wifi Hotspot of your Android phone and connect your Laptop to your phone.
2-Start your server at localhost (I am using wamp server).
3-Now open command prompt and enter ipconfig command you will get following things.
4-If you want to know how to find ip address Click.
5-Enter your pc ip address in your android browser .
6-Now you will found error like this :
For resolve this problem:
You need to make a small change in the httpd-xampp.conf file:
1-Turn on Wifi Hotspot of your Android phone and connect your Laptop to your phone.
2-Start your server at localhost (I am using wamp server).
3-Now open command prompt and enter ipconfig command you will get following things.
4-If you want to know how to find ip address Click.
5-Enter your pc ip address in your android browser .
6-Now you will found error like this :
You need to make a small change in the httpd-xampp.conf file:
3-Stop and Start Apache and then try loading the page in your mobile device’s browser. It should now display the XAMPP homepage.
4-Now you can use your ip address as a localhost in android browser .like :http://192.168.79.49/




No comments:
Post a Comment