XAMPP Error Port 80 Already In Use [Solved]

Port 80 in use by unable to open process with PID 4

Getting this issue when trying to start Apache PHP on XAMPP server ?

13:47:10 [Apache] Problem detected! 13:47:10 [Apache] Port 80 in use by "Unable to open process" with PID 4! 13:47:10 [Apache] Apache WILL NOT start without the configured ports free! 13:47:10 [Apache] You need to uninstall/disable/reconfigure the blocking application 13:47:10 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 13:47:10 [Apache] Attempting to start Apache app... 13:47:10 [Apache] Status change detected: running 13:47:11 [Apache] Status change detected: stopped 13:47:11 [Apache] Error: Apache shutdown unexpectedly. 13:47:11 [Apache] This may be due to a blocked port, missing dependencies, 13:47:11 [Apache] improper privileges, a crash, or a shutdown by another method. 13:47:11 [Apache] Press the Logs button to view error logs and check 13:47:11 [Apache] the Windows Event Viewer for more clues 13:47:11 [Apache] If you need more help, copy and post this 13:47:11 [Apache] entire log window on the forums

The reason might be that the apache port you are using is already in use and windows could not start apache 2.2 on local computer, so you cannot use it for your Apache web server. You must change apache port.

Locate your apache httpd conf file - if you don't know where it is located, in xampp for windows 7 window, click on Config > Apache (httpd.conf), it will open it automatically in your system's default text editor.

Apache will not start without the configured ports free

Look for the line containing Listen 80, 80 is the port used by apache web page – this is on which port apache listens http.

Change it to another value - for example Listen 8080, change apache port in xampp and change apache server port.

Try again to start apache… Restart apache and see if you still have xampp apache not starting.

It should now be working ! All these issues should be solved : apache server not working , php not working in xampp , apache stopped working xampp , windows 10 apache not working , xampp apache not working , apache not working.

You might face skype problems windows 10, XAMPP Apache error Port 443 in use by Skype, check the ports used by skype :

You can access your apache web page with the URL http://localhost:8080.

XAMPP apache problem should now be solved. Where is the apache log might also help you to launch apache after you start xampp control panel. The apache httpd web server is very powerful ! In case of more issues you should get apache logs and see the detail.

Starting a website ? Our it consulting website will help you how to start a website, how to open a website, or make your wordpress webpage. Starting a new website might seem difficult at first, contact us for a free quote to open a website.

Reconfigure apache and the control panel to listen on a different port

When Apache finds the port 80 in use, you need to uninstall/disable/reconfigure the blocking application, or to change the port on which Apache is listening.

Apache server at port 80 is the default configuration, but it can lead to a xampp blocked port when the xampp port 80 in use windows 10, for example by other applications.

The xampp 80 port problem is not specific to XAMPP – it can happen with any similar application.

How to free port 80 for xampp

When the apache port 80 not working, and apache not starting xampp windows 10, the best thing to do is not to free the port 80.

To solve this xampp port problem, and stop apache not running xampp, the easiest solution is to change the xampp apache port, for example to 8080.

Windows 10 Skype port 80

On the new Skype version, it is not possible to change the port. However, Skype does not seem to be an issue anymore with XAMPP.

The only way to change the Skype port, is to go on Skype website, and select the Get classic Skype option, in order to download an older version of Skype, in which settings allow to change the Skype Windows 10 port.

Get classic Skype

What is pid in XAMPP

The PID in XAMPP is the process identification number.

When getting a XAMPP error, the PID is simply the number given by the system for the latest process.

How to change Apache port 443 in XAMPP

On the XAMPP control panel window, open config > Apache > httpd.conf. There, find the port 443 and change it to the value you want, for example the port 8080.

After you have changed the XAMPP Apache port, save the file, and try restarting Apache from the XAMPP control panel.

XAMPP Apache cannot start

When XAMPP Apache cannot start because port 80 is already in use, simply change the Apache port %%XAMPP%%\apache\conf\httpd.conf configuration file.

Any port value can be used. The usage is to use the port 8080 when the port 80 is already used by another process, but the value of your choice can be selected.

Comments (1)

 2021-05-10 -  rodrigo
Thanks for the tip, it helped me a lot!

Leave a comment