Changing the port number didn't work for me but these steps did.
Run command prompt as administrator
Run the following command to disable the hypervisor
bcdedit /set hypervisorlaunchtype off
Restart your machine
Try running XAMPP again and it should work.