6:58:47 AM [Apache] Problem detected!<br />
6:58:47 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!<br />
6:58:47 AM [Apache] Apache WILL NOT start without the configured ports free!<br />
6:58:47 AM [Apache] You need to uninstall/disable/reconfigure the blocking application<br />
6:58:47 AM [Apache] or reconfigure Apache and the Control Panel to <br />listen on a different port<br /><br />
someone help me if there is a way to fix this? I want to connect to my Database.
Do you have Skype running? Skype may use the ports 80 and 443 which are commonly used by HTTP (80) and HTTPS (443). In the settings, you can deselect an option which enables Skype to use those ports. If this does not help, another program (with the process ID 4, see second line) is using port 80. Kill that process and you will be able to run your Apache.
Related
I just finished making a site with WordPress. I want to make another site with the multi-site function. I followed some instructions and downloaded Xampp but Xampp keeps showing me errors and I can't seem to find a solution to it.
1:39:21 AM [Apache] Problem detected!
1:39:21 AM [Apache] Port 80 in use by
""C:\Bitnami\WORDPR~1.2-3\apache2\bin\httpd.exe" -k runservice" with
PID 4768!
1:39:21 AM [Apache] Apache WILL NOT start without the configured
ports free!
1:39:21 AM [Apache] You need to uninstall/disable/reconfigure the
blocking application
1:39:21 AM [Apache] or reconfigure Apache and the Control Panel to
listen on a different port
1:39:21 AM [Apache] Problem detected!
1:39:21 AM [Apache] Port 443 in use by
""C:\Bitnami\WORDPR~1.2-3\apache2\bin\httpd.exe" -k runservice" with
PID 4768!
1:39:21 AM [Apache] Apache WILL NOT start without the configured
ports free!
1:39:21 AM [Apache] You need to uninstall/disable/reconfigure the
blocking application
1:39:21 AM [Apache] or reconfigure Apache and the Control Panel to
listen on a different port
1:39:21 AM [mysql] Problem detected!
1:39:21 AM [mysql] Port 3306 in use by "Unable to open process"!
1:39:21 AM [mysql] MySQL WILL NOT start without the configured ports
free!
1:39:21 AM [mysql] You need to uninstall/disable/reconfigure the
blocking application
1:39:21 AM [mysql] or reconfigure MySQL and the Control Panel to
listen on a different port
As you can see, there's quite a few problems and I can't really fix any of them. I uninstalled Skype because, from what I learned, Skype uses port 443 and 80. When I click the netstats option in Xampp, it shows that the both of these ports are used by httpd.exe
Okay, I had the same problem few months ago, and I found a solution, its actually pretty simple, just follow the steps:
Open Task Manager by searching it in the windows search button.
Open the services tab, and scroll down until you find "MySQL90" or "MySQL85"
If there are two "MySQL(number)" then you have to disable one of them.
This worked for me, it should work for you, lemme know how it goes!
I tried to run XAMPP, but due to some port conflicts I had to change my ports.
When I try to start it now, I get the following message:
17:00:07 [Apache] Problem detected!
17:00:07 [Apache] Port 80 in use by "Unable to open process" with PID 4!
17:00:07 [Apache] Apache WILL NOT start without the configured ports free!
17:00:07 [Apache] You need to uninstall/disable/reconfigure the blocking application
17:00:07 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
17:00:07 [Apache] Problem detected!
17:00:07 [Apache] Port 443 in use by "Unable to open process" with PID 4!
17:00:07 [Apache] Apache WILL NOT start without the configured ports free!
17:00:07 [Apache] You need to uninstall/disable/reconfigure the blocking application
17:00:07 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
Despite this message, Apache seems to work, even the ports are right:
Also, I can access it with http://localhost:8080/.
So do I have to worry about that message?
Did you change the line listen 80 in httpd.conf to listen 8080? This should resolve the error message. As usual restart Apache after the change to apply it.
Ignore that bloke going on about Skype, it's probably IIS/WWW publishing service running in the background (start > run > services.msc and stop the world wide web publishing service if it's running).
The WWW service is now enabled by default in Windows 10 if you've recently installed Xampp on a Windows 10 platform or upgraded your install, I had the same issue.
I have downloaded XAMPP control panel and installed it, but when I run the control panel it shows the error below. I have changed the port id and the PID, but the same error is reported despite that. I have also reinstalled XAMPP three times, but the issue persists.
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache and the Control Panel to listen on a different port
[Apache] Problem detected!
[Apache] Port 443 in use by "Unable to open process" with PID 1444!
[Apache] Apache WILL NOT start without the configured ports free!
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache and the Control Panel to listen on a different port.
For change port skype, you can choose menu Tools > options then choose advanced > Connection read it change port besides 80
I installed xampp control panel v3.2.1 , my apache is not working as it gives error that
12:43:58 [Apache] Problem detected!
12:43:58 [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:43:58 [Apache] Apache WILL NOT start without the configured ports free!
12:43:58 [Apache] You need to uninstall/disable/reconfigure the blocking application
12:43:58 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
i dont have anything running on my background . any alternative ??
Your system port 80 used by other resources. That's the reason for this error.
Change default port 80 into something
Goto your xampp folder > apache >config> find httpd file. On that file Search word listen. Default it set as 80 change into 2000 or 3000 any. Save that file. Run again your xampp. :)
This usually happens when you have Skype running. If that's your case and you don't want to change your Apache configuration, open Skype and look for the menu Tools -> Options -> Advanced -> Connection. Uncheck the box "Use port 80 and 443 as alternatives for incoming connections"
I've taken the first steps to learning PHP - think it would be a good step in the right direction. I would like some help however on installing XAMPP. I have downloaded the file and all that through the Apache Friends site, but when I head to to control panel, I get numerous errors.
This is what it says for me:
**10:21:53 [Apache] Problem detected!
10:21:53 [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:21:53 [Apache] Apache WILL NOT start without the configured ports free!
10:21:53 [Apache] You need to uninstall/disable/reconfigure the blocking application
10:21:53 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:21:53 [Apache] Problem detected!
10:21:53 [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 3748!
10:21:53 [Apache] Apache WILL NOT start without the configured ports free!
10:21:53 [Apache] You need to uninstall/disable/reconfigure the blocking application
10:21:53 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:21:53 [main] Starting Check-Timer
10:21:53 [main] Control Panel Ready**
Could someone please tell me what this means and how I remedy it? Thanks very much.
It seems that port 80 and 443 is used by another program. From my experince - open Skype. Go to Tools -> Options -> Advanced -> Connection. Please uncheck "use port 80 and 443 as alternatives...."
Then, try to restart Apache.
I tried this and it worked really well...
As you have already figured the port 80 is in use by something with pid 4
This application's detailed info can be seen using the details tab on the task manager window.
However I found out the application is not writable and hence I figured it shouldn't be touched.
Instead I changed the port of the apachae server on xampp to be 85
Open xampp and click on config in front of apache then select the first option that appears allowing you to open httpd.conf and then in the notepad file that opens up, find the word listen and go to the 4th word that it finds.
It will read something like Listen 80
Change this to any number except 80 (like 85) and voila it work
Opening the XAMPP control panel as Administrator worked for me.
The solution for me was to:
1) Stop IIS (stop the "World Wide Web Publishing Service" and set its startup type to Manual)
2) Stop the "Web Deployment Agent Service" and set its startup type to Manual.
...as detailed in http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
Port 80 in use by "Unable to open process" with PID 4!
A process with a PID of 4 that is taking port 80, is almost always the Window's HTTP.SYS Service. It's a type of a proxy service for other services. And it's safe to disable it in most cases.
From command-line, Run As Admin.
net stop http
sc config http start= disabled
Or you can switch it's Startup Mode to "On Demand".
For more options and also a list of other port 80 Services see Opening Up Port 80 For Apache to Use On Windows.
Steps which u can try:
1) uninstall or stop Skype and check again after restarting the server.
2) use this to get the port usage details : use cmd netstat -a -b
3) or use this GUI tool to identify the ports used by other programs.
4) uninstall Xammp and try with Wamp Server
in my case a website was configured on IIS , i stopped and it worked well.
You have to close down Skype. It tells you exactly why it can not start in the error message.