In windows/linux systems, the port is occupied. Solution for linux

Source: Internet
Author: User

In windows/linux systems, the port is occupied. Solution for linux

1. In windows, query the port occupation and clearing the port occupation programs
1. query the process ID occupied by the port
2. view the application corresponding to the port number
3. Terminate the process
2. in Linux, query the port occupation and clearing the port occupation program.
1. query the port usage and view the process information based on the port
2. view the executable program corresponding to the process according to the process number
3. view the dynamic link based on the executable program
4. obtain detailed information about the processes occupied by the port number.
5. query the process ID occupied by the port number.
6. One-time clearing of programs occupying port 80
7. Manually terminate the process

Killed 5014
If it cannot be terminated, it can be forcibly terminated.
Kill-9 5014
Lsof-I: 80

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.