Quantcast
Channel: 初心者タグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 21089

Failed to start The Apache HTTP Server.

$
0
0

エラーに下記内容が出た際の対応

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

まずはこのコマンドで対象を探す

$ netstat -ltnp | grep :80

そうすると、こういう結果が出るので

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

下記コマンドで削除して

$ sudo kill -9 895

再度Apacheを再起動

$ systemctl restart httpd.service

Viewing all articles
Browse latest Browse all 21089

Trending Articles