I saw I could set it so that apache only listens to requests from my computer.
I changed these files: xampp\\apache\\conf\\httpd.conf and xampp\\apache\\conf\\extra\