How to Access XAMPP Localhost from Another Computer (Same Wi-Fi/LAN)

Опубликовано: 17 Май 2026
на канале: Tech4knowhow
4,475
36

In this video, I’ll show you step-by-step how to access your localhost (XAMPP) server from another computer connected to the same local network (LAN/Wi-Fi). This method is super useful if you’re testing a website, working on a project with teammates, or previewing your web app on different devices.
🔑 What you’ll learn in this video:
→How to find your computer’s IP address
→How to configure XAMPP/Apache for LAN access
→How to adjust firewall settings if needed
→How to access localhost from another computer, laptop, or mobile device on the same network

✅ By the end of this tutorial, you’ll be able to open your project hosted on XAMPP from any device connected to your Wi-Fi or LAN network.

📌 Helpful Links & Commands:
→XAMPP Official Website: https://www.apachefriends.org
→Common Apache config file location: xampp/apache/conf/httpd.conf

💡 Tips:
→Make sure both devices are connected to the same Wi-Fi or LAN.
→Always restart Apache after making configuration changes.
→Use your IPv4 address instead of “localhost” when accessing from another device.

⏰Timecodes
00:00:00 Intro
00:00:34 Apache config httpd.conf
00:01:09 Apache config httpd-xampp.conf
00:01:54 Config Windows Defender Firewall
00:02:44 Access localhost from another computer, laptop, or mobile device on the same network

📲 Stay Connected:
If you found this tutorial helpful, don’t forget to Like 👍, Share 🔁, and Subscribe 🔔 for more web development tutorials!

#xampp #localhost #LAN #apache #Wi-Fi #webdevelopment #php