+5 votes
465 views
in Windows by (26.3k points)

I installed XAMPP but when I want to enable APACHE and MySQL it says port 80 is already in use.

How to find applications that uses port 80?

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

1 Answer

+6 votes
by

In order to find application that using port 80

Start CMD (command line)

Type : netstat -ano | find ":80"

You will see PID ids there.

Then start task manager

Click Tasks tab

Right Click Name Title and Click Show PID

You can find the applicaiton by PID

by (26.3k points)
When I close the Chrome the problem fixed
by (11.7k points)
You might need to stop the "Web Deployment Agent Service"

Press Win+R and type services.msc

Right click on Web Deployment Agent Service and select "Stop"

Restart XAMPP

Also after double clicking "Web Deployment Agent Service" you can make the Startup type to Manual, So that "Web Deployment Agent Service" will not start automatically

ref:stackoverflow
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...