48)Address already in use: AH00072: make_sock: could not bind to address [::]:80

后端 未结 5 1394
时光取名叫无心
时光取名叫无心 2021-02-04 06:43

I get a apache error when I try access to anything folder or file, it returns Http Not found or Forbidden I am trying restart and start apache

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-04 07:09

    In my Mac with Mojave (10.14.1) suddenly Apache couldn't give to serve ipv4 anymore, then gave me ERROR 403. I tried to kill all apache (sudo killall httpd)... checking de PID's on (sudo lsof | grep AMP | grep apache)... even didn't work... just ipv6 was available... still ERROR 403.

    What works for me: Disable OSX's built-in Apache server.

    sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
    

    After that:

    sudo apachectl -k restart
    

    Be happy :)

提交回复
热议问题