Solution to Apache port 443 being occupied

Source: Internet
Author: User

This day, xamppand apachecannot be started. Because xampp-control-3-beta.exe cannot be used to see the error, it cannot be started.

 

Run cmd in windows and run httpd.exe in xampp/apache/bin:

  1. (OS 10048) Generally, each socket address (Protocol/network address/port) can be used only once. : Make_sock: c
  2. Ocould not bind to address [:]: 443
  3. Find port usage

    Html code
    1. D: \ server \ xampp \ apache \ bin> netstat-ano | findstr" 443"
    2. TCP 0.0.0.0: 443 0.0.0.0: 0 LISTENING 3120
    3. TCP 199.10.33.30: 54312 202.173.27.250: 443 TIME_WAIT 0
    4. TCP 199.10.33.30: 54313 216.219.120.244: 443 TIME_WAIT 0

     

     

    View the process occupied Program

    Html code
    1. D: \ server \ xampp \ apache \ bin> tasklist | findstr" 3120"
    2. Vmware-hostd.exe 3120 Services 0 55,356 K

     

    It can be seen that 433 is occupied by vmare. According to the principle of "first come first", only this port of apache is changed.

    Solution: Go to the Apache installation directory, search for the httpd-ssl.conf, and right-click the text to open. Replace 443 with other uncommon port numbers, such as 442. Then you can start Apache normally.

     

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.