Nginx prompts address or port occupied

Source: Internet
Author: User

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

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.