Whenever I try to start nginx I get the following output.
/etc/init.d/nginx start
Starting nginx: [emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: bind() to [::]:80 failed (98: Address already in use)
[emerg]: still could not bind()
nginx.
However, nothing is listening on port 80. I get nothing when I run lsof -i :80
I'm also running php-fpm which I thought might have something to do with it but as I said, lsof doesn't indicate that php-fpm is related.
Does anyone have any idea what to look for?
netstat -tanp
show? What do you get if you telnet to port 80?