The service can not start xampp Apache Apache 443 port is occupied Solution

  Today in the use of local XAMPP, Apache service does not start correctly found that, based on past experience, may be port 80 or port 443 is occupied due, so the port occupancy investigation.

  

 

  1. Perform xampp / apache / bin in httpd.exe, see:

(OS 10048) each socket address (protocol / network address / port) only once. : AH00072: make_sock: could not bind to address [::]: 443
(OS 10048) each socket address (protocol / network address / port) only once. : AH00072: make_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

  2. Find the occupancy ports

D:\xampp\apache\bin>netstat -ano|findstr "443"
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING       7656

  3. View specific process

D:\xampp\apache\bin>tasklist|findstr "7656"
vmware-hostd.exe              7656 Services                   0     48,192 K

 

  According to the principle of "first come first served", the 443 port is vmare occupied.

  Two solutions, one is to modify the apache port number; the other is to modify the configuration parameters vmware.

  Option One:

Into the Apache installation directory, D: \ xampp \ apache \ conf \ extra \ httpd-ssl.conf, right-click the text open. Looking to replace 443 other non-known port numbers, such as 441. Then you can start Apache normal

  Option II:

  First, open our virtual machine, found inside the menu editing options, select the first option, as shown:

  

 

  Click on "Disable Sharing" button. At this time, the virtual machine is unavailable, Apache can be used normally.

  

 

   If both do not want to turn off sharing, want to use Apache, then the next may wish to do so, after disable sharing modify the port, the port can be modified only after disabling shared, enable sharing can not be modified, as shown:

  

 

    

  References: https: //www.iteye.com/blog/congjl2002-1497640

  https://blog.csdn.net/hyhui13/article/details/82777975

  

   

Guess you like

Origin www.cnblogs.com/iverson-3/p/11817988.html