I've not used XAMPP, but I suspect that you're either being blocked by a firewall, or by
Apache configuration. I image that by default XAMPP configures apache only to listen to local requests. If you look at the apache configuration files (probably the one for the default site) you ought to find something like
<Directory /path/to/webroot>
...
Order deny,allow
deny from all
allow from 127.0.0.1
...
</Directory>
Adding the IP addresses you want to have access might help. Otherwise, the best place to find help will be the
XAMPP website