Why XAMPP listens on wrong IP address?
Solution 1:
I think the problem is that you installed the XAMPP VM version that executes a virtual machine on macOS. Check on the XAMPP website and download the normal version. Hope this is the case and that this info helps.