Case 1: When xampp is started, it will check whether port 80 used by Apache is occupied. If it is used, a prompt is displayed for creating a firewall.
Solution 1: click "Config" in the Control panel of xampp to open the "Configuration of Control panel" Configuration page. At the bottom of the page, click "Service and Port Settings, select the "Apache" tab and modify the Main Port and SSLPort.
Case 2: When xampp starts Apache on the Control panel, it prompts that port 80 is in use.
Solution 2: Click the Config button next to "Apache" and select "Apache (httpd. conf) ", open httpd. conf file, query "80", find "Listen 80", and change the value to a port number (such as 8081) that does not conflict with each other ). then, find "ServerName localhost: 80" and change the value again.
Modify port 443 used by the SSL module: Click the Config button after the "Apache" line, select "Apache (httpd-ssl.conf)", open the httpd-ssl.conf, query "443 ", "Listen 443" is found, and the value cannot be changed to the port number in the conflict, or in "httpd. it is also possible to disable the SSL module in the conf file.
Close method: Find "# Secure (SSL/TLS) connections", add "Include conf/extra/httpd-ssl.conf" to the front.