Today, when Lao Zuo needed to install and start Nginx when testing and installing LEMP, he was prompted with the error message "Starting nginx: nginx: [emergency] bind() to 0.0.0.0:80 failed (98: Address alre".
This problem is caused by the occupation of Nginx port 80.
fuser -n tcp 80
Check what is occupied, or use netstat - ntpl to check who is occupied, and then KILL the occupied PID
Then delete the process through kill - 9
Finally, start/etc/init.d/nginx.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge