Nginx - Address already in use
Posted
by
user2426362
on Server Fault
See other posts from Server Fault
or by user2426362
Published on 2013-07-03T10:02:34Z
Indexed on
2013/07/03
11:07 UTC
Read the original article
Hit count: 212
nginx
If I run: service nginx restart
I have this error:
root@user /etc/nginx/sites-enabled # service nginx restart
Restarting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx.
How to fix it? I have also apache conf running on port 80.
© Server Fault or respective owner