I have been trying to figure out how to fix this problem for two days. I'm new to this kind of thing so I would appreciate it if someone could tell me how to fix it.
I've tried deleting skype but that didn't work, I've tried turning off the world wide web thing off, IIS off nothing seems to work.
12:51:22 PM [Apache] Problem detected! 12:51:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4! 12:51:22 PM [Apache] Apache WILL NOT start without the configured ports free! 12:51:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 12:51:22 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
This can be done by clicking on the "Config" button on the same line as the "Apache" module, select the "httpd. conf" file in the dropdown, then change the "Listen 80" line to "Listen 8080". Save the file and close it. Now it avoids Port 80 and uses Port 8080 instead without issue.
Your port 80 is being used by the system or Skype. If by Skype then first quit Skype and run Apache. And you can restart Skype. In Windows “World Wide Publishing" Service is using this port and stopping this service will free the port 80 and you can connect Apache using this port.
Go to the Control Panel and launch "Windows Firewall" Go to "Advanced Settings" Select "Inbound Rules" in the left pane Select "New Rule" in the right pane In the New Inbound Rule Wizard, select "Port" as Rule Type, then click on "Next" Select "TCP and put "80" (and any other ports you want to open) in "Specific local ...
Open a CMD prompt as administrator and execute the following command:
net stop was /y
Open the Run dialog box (press Win+R), then type: services.msc
Then search for World Wide Web Publishing Service (WWW-Publishing Service) and Web Deployment Agent Service and stop them. You should also disable them.
Start Apache again with XAMPP :)
Link Ref: https://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
Another very easy option is to simply set Apache to listen on a different port. This can be done by clicking on the "Config" button on the same line as the "Apache" module, select the "httpd.conf" file in the dropdown, then change the "Listen 80" line to "Listen 8080". Save the file and close it.
Now it avoids Port 80 and uses Port 8080 instead without issue. The only additional thing you need to do is make sure to put localhost:8080
in the browser so the browser knows to look on Port 8080. Otherwise it defaults to Port 80 and won't find your local site.
This will also require you to restart Apache for the change to take effect.
Voila! Fixed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With