S
You probably haven't changed the ports at XAMPP.In the control panel, press the buttonConfig"In the open window, press the button."Service and Port SettingsAnd in the new window open, put new port values. Then let Apache in. UPDInstruction:(1) You need to open the Apache "httpd.conf" file and put it on a new port.To open the "httpd.conf" file, press the buttonConfigAnd next to Apache, the buttonStartAnd the buttonAdmin" In the menu, press and open the "httpd.conf" file: (2) In the "httpd.conf" file, make a search for "Listen." You'll find two lines with something like that;#Listen 12.34.56.78:80
Listen 80
Change port 80 to the new port you plan to use (e.g. port 8080), as shown below:#Listen 12.34.56.78:8080
Listen 8080
(3) Next, in the same "httpd.conf" file, find "ServerName localhost: " change the port of 80 to your chosen port (808080):ServerName localhost: 8080
(4) Keep it and close the "httpd.conf."(5) Now press the button."Config"Apache again and open the "httpd-ssl.conf."(6) In "httpd-ssl.conf, find "Listen." You can find:Listen 443
Change it to listen to the new port. For example:Listen 1443
(7) In the same "httpd-ssl.conf" file, find a line. Change port value to your new port for ssl (1443).(7) Also in the same "httpd-ssl.conf, find another line "ServerName." You'll find something like:ServerName www.example.com:443 or ServerName localhost: 433Change port value ServerName to a new selected port for ssl(1443). Keep and close the "httpd-ssl.conf."9) In conclusion, you'll change the XAMPP service lines. For that, press and open the button.ConfigAnd the XAMPP board. Then press the button."Service and Port Settings" In the open new window, press the deposit."Apache"and introduce and maintain a new meaning in the field."Main portAndSSL portAnd boxes. Press the button to keep and close the configuration parameters: Now press the "Start" Apache button, and if everything goes well, your Apache server should start.