I’m working on a server with ee/nginx and apache installed (long story). Right now, Apache is running fine on port 80. Nginx won’t start due to a conflict on port 80…
However, the port has been changed in /etc/nginx/sites-available/default to:-
listen 8000 default_server;
listen [::]:8000 default_server;
Yet starting Nginx still gives this error:-
[emerg] 4930#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
I’ve grepped for any other reference to port 80 in /etc/nginx/ but found nothing. Does ee set port 80 anywhere else that I’m missing?
I’ve checked that there are no other nginx processes running. And the only thing running on port 80 is apache.