Run Localhost on Android Phone using USB

Mostly Web developers run localhost on their computer but I was thinking Can I run Localhost on Android Phone using USB (Universal Serial Bus) cable. The answer is YES you can use android phone as a Localhost and run Web application on them.


Requirement :

  1. Android Phone version above 4.0.
  2. USB Data Cable
  3. W.A.M.P Server installed on Computer
  4. I recommend UC Browser to run Web Application On mobile.

Steps to Follow :

  1. Firstly Connect Android Phone with Computer through USB data Cable.
  2. Go to Settings ->More -> Wireless & Networks -> Tethering & Portable Hotspot
  3. Click On USB tethering.
  4. After Following these Step Open MS-DOS and Type ipconfig/all command.
  5. Note the temporary Ip address given By the mobile on your computer.
  6. Type the IP-address on the mobile phone Browser (UC Browser). For example : XXX.XX.XXX.XX/your file name.
OK then Enjoy this trick.... If there is any problem then comment below ....

Comments

Popular posts from this blog

How to configure Route Redistribution of BGP, OSPF and EIGRP in Cisco Packet Tracer

Friend Request System Using PHP and MYSQL

Login, Signup and Logout Script using PHP and MySQL