Here we want to use/browse your localhost (WAMP/XAMPP server) from any other device like my
Android phone or PC or Laptop.
Turn on Wifi Hotspot of your android phone/other laptop and connect your Laptop with your phone.
Start your server at localhost (I am using wamp server)
Now open command prompt and enter ipconfig command you will get following things
Android phone or PC or Laptop.
Turn on Wifi Hotspot of your android phone/other laptop and connect your Laptop with your phone.
Start your server at localhost (I am using wamp server)
Now open command prompt and enter ipconfig command you will get following things
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::80bc:e378:19ab:e448%11
IPv4 Address. . . . . . . . . . . : 192.160.10.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.160.10.
1
Copy this 192.160.10.2 in your mobile/laptop browser.
Note : Please set you network as "Home Network".
No comments:
Post a Comment