Sunday, 13 August 2017

How to find ip address of pc?

First Method

  • To find your local IP address on Windows, open a command prompt and type ipconfig. You’re looking for the IPv4 Address.
  • To find your local IP address on Mac, open Terminal and type ifconfig | grep "inet " | grep -v 127.0.0.1. It will be be the first address after “inet”.



How to access Xampp from android browser ?

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. In the XAMPP Control Panel, next to Apache, click on the Config button and open httpd-xampp.conf:
  2.  










2-In the bottom of the file, change Require all local to Require all granted.
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/