0
I these days the basic common cause for the XAMPP Apache server not starting issue is because the default

 port no 80 may already be in use by another program like Skype, Teamviewer etc.

Only one process can use port 80 at a time. Port 80 is the default port for web servers, so when you navigate to websites over HTTP, you are actually navigating to that server's port 80 by default (when you use HTTPS, the port is 443).
You can try to hunt down all the programs that are running on port 80, but there's an easier way that will work for development. When running XAMPP, click "Config" under "Apache". Replace Listen 80 with Listen 8080 and ServerName localhost:80 to ServerName localhost:8080.
Then, when you want to look at your masterpiece, navigate to http://localhost:8080 in your browser.
Or you can change the skype port number. 

Skype
Irritatingly, Skype can switch to port 80. To disable it, select
Tools > Options > Advanced > Connection then uncheck
“Use port 80 and 443 as alternatives for incoming connections”.
Steps to change the xampp port number from xampp directory
  1. go to the C:\xampp\apache\conf (or whichever directory you installed xampp). Now, locate the httpd.conf.
  2. Open it with any text editor (notepad or textpad) and go the line that says Listen 80
  3. Change this with any other port (for example Listen 81)
  4. Save the file. Restart the server and go ahead.
Steps to change the port number directly From xampp control pannel.
Launch xampp control panel.  Click on config button.
Click on service and port settings and then click on Apache then change main port 80 to 81 or anything else.
and then click on save btton. restart the xampp control panel. satrt xamp srvices like apache mysql etc.
and then access localhost on your web browser like localhost:yourpaortnumber/
example-localhost:81/
Now you can easily access the all local host services without any interrupt.




Post a Comment

 
Top