I want to access local PHP files on a mac (using the apache server that comes with the Mac) and enable Internet sharing, but the browser is still prohibited from accessing http:/localhost. (The firewall is also turned off)
迷茫2017-06-28 09:29:48
Is it because you didn’t add a port number after your localhost? I am using mamp, but localhost alone cannot access it. After adding the port number, I can access it