Рет қаралды 34,916
Accessing localhost (XAMPP) from another computer over LAN network.
Learn how to access XAMPP localhost from mobile device or from an other device. Before start make sure that your computer and mobile or other devices are on the same LAN network and then follow the following steps
STEP 1: Goto your Xampp Control Panel and Click on Apache ➡️Config ➡️ Apache (httpd.conf)
STEP 2: Search for Listen 80 and replace with Listen 8080
STEP 3: After that check your local IP using ipconfig command (cmd console)
STEP 4: Again click on Apache ➡️Config ➡️ Apache (httpd.conf) and Search for localhost:80 and replace with your local ip:8080
STEP 5: After that open Apache➡️Config➡️ Apache (httpd-xampp.conf) and Search for phpMyAdmin and Replace Require local with Require all granted
STEP 6: Go to Xampp ➡️Config➡️click on service and port setting and change Apache main port from 80 to 8080
STEP 7: Restart your xampp server and hit your IP:8080 (ex.192.168.38.222:8080) from your mobile or another computer.(don't forget to check if Appache http server is ticked for both public and private in windows defender firewall )
XAMPP FROM MOBILE,
LOCALHOST FROM MOBILE DEVICE,
ACCESS YOUR WORDPRESS SITE FROM MOBILE,
XAMPP FROM ANOTHER COMPUTER,
ACCESS LOCALHOST FROM ANOTHER DEVICE ON SAME LOCAL NETWORK