Search code examples
phpapachexamppports

XAMPP: Problems with ports


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:

apache

Also, I can access it with http://localhost:8080/.

So do I have to worry about that message?


Solution

  • 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.