How to make localhost accessible from another device
- Open XAMPP
- On Apache click Config
- Then click httpd.conf
- Change
Listen 80
to192.168.***.1:80
and comment#Listen 80
. Then Save & close notepad
- Back to step 3 but click httpd-xampp.conf
- Search D:/xampp/phpMyAdmin, then edit
Require local
toRequire all granted
. Then Save & close notepad
- Next go to Windows defender firewall with advanced security > double click on the one I marked with the number 2
- Then select Allow the connection > Apply > OK > Close
- Open XAMPP again start Apache & MYSQL
- Last Access ip on mobile