apache - Mac failed to access localhost
巴扎黑
巴扎黑 2017-06-28 09:27:48
0
1
982

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)

巴扎黑
巴扎黑

reply all (1)
迷茫

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

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!