问题
After intalling Xampp on my Mac. The address is http://192.168.64.2/dashboard how can I make it to be accessible via localhost or 127.0.0.1 ?
回答1:
You most likely installed the application that sets up a virtual machine. Revisit the download page and select the application without 'vm' at the end
here: https://www.apachefriends.org/download.html
回答2:
Like Ab Ned said, you've probably installed the VM version. I guess that's a good thing because it might save your from unwanted side-effects. So, if you want to stick with it, just activate the port forwarding:
There's also a little walkthrough at https://www.apachefriends.org/faq_stackman.html.
来源:https://stackoverflow.com/questions/46383398/xampp-installed-on-mac-not-accessible-via-localhost-only-local-ip