XAMPP Error Port 80 Already In Use [Solved]

Getting this issue when trying to start Apache PHP on XAMPP server ? 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.


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

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

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.

Master Website Creation: Enroll Now!

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!

Enroll Here

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!

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.

Frequently Asked Questions

How to solve port 80 error in XAMPP?
When apache port 80 is down and apache is not running xampp windows 10, it is best not to release port 80. To solve this xampp port problem and stop apache, then the simplest solution is to change apache xampp port to 8080 for example.
What should I do if Apache won't start due to port conflicts?
If Apache reports that it cannot start because the configured ports are not free, you'll need to identify which application is using the ports Apache is configured to use, typically port 80 for HTTP and 443 for HTTPS. You can use tools like netstat to find out which process is occupying these ports. Once identified, you can stop the other application or reconfigure Apache to use different ports.
How can users resolve the Port 80 already in use error in XAMPP to successfully start the Apache server?
Users can resolve this issue by identifying and stopping the service occupying Port 80 (often Skype or another web server) or by changing Apache’s listening port in XAMPP's `httpd.conf` file to an alternative, like 8080, and then restarting Apache.

Yoann Bierling
About the author - Yoann Bierling
Yoann Bierling is a Web Publishing & Digital Consulting professional, making a global impact through expertise and innovation in technologies. Passionate about empowering individuals and organizations to thrive in the digital age, he is driven to deliver exceptional results and drive growth through educational content creation.

Master Website Creation: Enroll Now!

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!

Enroll Here

Transform your digital presence with our comprehensive Website Creation course – start your journey to becoming a web expert today!



Comments (1)

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

Leave a comment