Starting apache fails (could not bind to address 0.0.0.0:80)

后端 未结 12 1882
南旧
南旧 2020-12-12 11:11

Update: Already fixed, it seems that one of VirtualHosts configurations files was wrong in sites-enabled.

I have Ubuntu 11.10

When I run the command to start

12条回答
  •  借酒劲吻你
    2020-12-12 12:18

    Try this, it works for me…

    sudo netstat -ltnp | grep ':80'
    

    This would return the following:

    tcp6 0 0 :::80 :::* LISTEN 1047/apache2
    

    Then

    sudo kill -9 1047
    

    Then I was able to restart Apache and everything was working fine.

提交回复
热议问题