In your xampppath\apache\conf\extra open file httpd-xampp.conf and find the below tag:
and add## New XAMPP security concept
#
<LocationMatch "^/(?i?
ampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
#Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>
"Allow from all"
after Allow from ::1 127.0.0.0/8 {line}
Restart xampp, and you are done.