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

后端 未结 5 1318
时光取名叫无心
时光取名叫无心 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:32

    One of a couple of things could be happening:

    1. You have a different version of apache running. You can make sure that you're using the correct one by running which apachectl. As an example, I also have two versions of apache /usr/sbin/apachectl and /usr/local/bin/apachectl
    2. You're not running apachectl start as root, although it appears that you are.
    3. You can run sudo lsof -i:80 to see what's binding that port currently

提交回复
热议问题