Skip to content

ThirteeNov

My personal blog about coding and internet

Menu
  • About me
  • About Zofia Kreasi
  • Cart
  • Checkout
  • Making an airplane game from scratch in Unity
  • My account
  • Privacy Policy
  • Privacy Policy – zkLeaderboard
  • Sample Page
  • Shop
  • Tutorials on Learning JavaScript
  • ZKAccounts – Privacy Policy
Menu

How to access your localhost website running with XAMPP from another devices (like Android phone)

Posted on February 16, 2021March 1, 2021 by Habibie

Hi there, I know you often develop an online websites on your local environment using local webserver such as XAMPP before you deploy it on real web server online.

Sometimes you need to access your local website that is running on localhost for example in this link: http://localhost/yourwebsite from your mobile phone.

To do so, first you need to figure out what is your computer’s local ip address. On your Windows search cmd and run it (press window button on your keyboard and type cmd then press enter). Then on Command Prompt type “ipconfig”.

You will see your local ip address such as:

IPv4 Address. . . . . . . . . . . : 192.168.100.3

In this case, your local IP address is 192.168.100.3 and to access your above local website on your phone, you need to connect your phone to the same network for example same wifi which your computer is connected. Then type that ip address 192.168.100.3 followed by your website directory, like this: http://192.168.100.3/yourwebsite

If you’re unable to connect, possible your computer’s firewall is preventing it. You need to disable the blockage.

Post Views: 411
ciihuy2020

Welcome!

  • My YouTube Channel
  • My GitHub Page
  • About me

Categories

  • 3DVista
  • Android
  • Apache
  • C#
  • Cordova
  • Electron & Node JS
  • HTML5, CSS & JavaScript
  • iOS
  • Let's Make Unity Games
  • Misc
  • Photoshop
  • PHP
  • Python
  • Uncategorized
  • Unity
  • WordPress

Recent Posts

  • Make objects like wires and cables easily in Unity using Ciihuy Curved Mesh
  • [SOLVED] Can’t Add Custom Domain to Blogger After Losing CNAME Verification
  • iOS App Icon Generator by CiihuyCom
  • Advanced Blinking Marker Script to show objects position in your game canvas
  • Ciihuy Images Merger – Fast & Easy Online Image Combiner
© 2025 ThirteeNov | Powered by Superbs Personal Blog theme