I currently develop under iis for classic asp for my work experience although for uni I'm required to do php. I have iis set up on my comp and installed xampp, after restarting my computer local host is not working for me. I read up somewhere that i need to change ports so i changed iis port to port 8080 but to access my sites now i have to type in http://localhost:8080/Test/login.asp instead of localhost/test/login.asp is there a way to have it so i don't need to type in the port number as well?
No, two different web servers have to listen on different ports. The standard HTTP port is 80. If you set another (here 8080) you have to type it the URL.
But you can install PHP for IIS so your would not need xampp at all.