Nginx prompts that the address or port is occupied. solve the following error: Startingnginx: nginx: [emerg] bind () to0.0.0.0: 80 failed (98: Addressalreadyuse) when starting nginx) this is where Port 80 of nginx is occupied... nginx prompts that the address or port is occupied. solve the following error: Starting nginx: [emerg] bind () to 0.0.0.0: 80 failed (98: address already use)
This is why Port 80 of nginx is occupied. when nginx is started or shut down too much, check which program occupies port 80, such as root @ gaojin-R410IU: /home/gaojin # fuser-n tcp 80 80/tcp: 1116 2. delete the corresponding program process to kill-9 11163. if confirmed, only nginx is occupied, you can also directly end all nginx processes killall-9 nginx again/etc/init. d/nginx start starts normally
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.