Windows to see who is taking up a port

Source: Internet
Author: User

XAMPP Error:apache shutdown unexpectedly. Solution Ideas

I recommend running in CMD first (install directory) Apache/bin/httpd.exe

Unable to start Apache, the log shown is:
20:41:12 [Apache] error:apache shutdown unexpectedly.
20:41:12 [Apache] This is due to a blocked port, missing dependencies,
20:41:12  [Apache] improper privileges, a crash, or a shutdown by another METHOD. 
20:41:12  [Apache] Check the "/xampp/apache/logs/error.log" FILE 
20:41:12  [Apache] and the Windows Event Viewer for more clues 

Check the
Print the following log:  by running Apache/bin/httpd.exe;
(OS 10048) is typically allowed to be used only once per socket address (Protocol/network address/port). : Make_sock:could not bind to address 0.0.0.0:443

is 443 port occupied, Apache can't listen to 443 port, how to solve it?  

The most straightforward method is to close the process that occupies port 443:  
1. Netstat-ano|grep 443 (netstat-aon|findstr 443) See 443 port occupied   &nbs P                              
2. In cmd, print tasklist|grep 443 to find the process number that occupies the 443 port.  
3.taskkill/pid port number to kill this process, xampp restart Apache. If 443 of the process does not end, you can change 443 to 8443.
    1. Or we open the Task Manager, switch to the Process tab, in the PID column to see who the 2720 corresponding process is, if you do not see the PID column, such as:

    2. Then we click on the view---> select column and click on the front of the PID (process identifier) to make sure.

    3. So we see the PID of this column identification, look at the 2720 corresponding process is who, if not, we put the following show all users of the process front of the tick, you can see, the image name is Svchost.exe, the description is, the main process of Windows, Fully consistent with the above command view.

    4. End the process: Select the process in Task Manager to click the "End Process" button, or in the cmd command window, enter: taskkill/f/t/im Tencentdl.exe.

Windows to see who is taking up a port

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.