1. Go to Your XAMPP Control panel
  2. Click on apache > config > Apache (httpd.conf)
  1. Search for Listen 80 and replace with Listen 8080
  2. After that check your local ip using ipconfig command (cmd console)
  3. Search for ServerName localhost:80 and replace with your local ip:8080 (ex.192.168.1.156:8080)
  4. After that open apache > config > Apache (httpd-xampp.conf)
  1. Search for <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig **Require local** Replace with **Require all granted** ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory>```
  2. Go to xampp > config > click on service and port setting and change apache port 8080
  3. restart xampp
  4. then hit your IP:8080 (ex.192.168.1.156:8080) from another computer