Problem connecting to XAMPP port 80 [duplicate]

0

It does not matter how many times I give Start or Stop, it gets me the same every time, problem on port 80 and unable access , but if I press start and go in the address bar localhost: 8080 it will display the xampp home screen!

1:36:45 AM  [Apache]    Status change detected: running
1:36:49 AM  [mysql]     Attempting to start MySQL app...
1:36:50 AM  [mysql]     Status change detected: running
1:36:52 AM  [Apache]    Attempting to stop Apache (PID: 212)
1:36:52 AM  [Apache]    Attempting to stop Apache (PID: 5920)
1:36:52 AM  [Apache]    Status change detected: stopped
1:36:53 AM  [Apache]    Problem detected!
1:36:53 AM  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
1:36:53 AM  [Apache]    Apache WILL NOT start without the configured ports free!
1:36:53 AM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
1:36:53 AM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
1:36:53 AM  [Apache]    Attempting to start Apache app...
1:36:53 AM  [Apache]    Status change detected: running
1:38:22 AM  [Apache]    Attempting to stop Apache (PID: 6208)
1:38:22 AM  [Apache]    Attempting to stop Apache (PID: 5672)
1:38:22 AM  [Apache]    Status change detected: stopped
1:38:22 AM  [mysql]     Attempting to stop MySQL (PID: 6536)
1:38:23 AM  [mysql]     Status change detected: stopped
1:39:32 AM  [Apache]    Problem detected!
1:39:32 AM  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
1:39:32 AM  [Apache]    Apache WILL NOT start without the configured ports free!
1:39:32 AM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
1:39:32 AM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
1:39:32 AM  [Apache]    Attempting to start Apache app...
1:39:32 AM  [Apache]    Status change detected: running
1:39:35 AM  [mysql]     Attempting to start MySQL app...
1:39:35 AM  [mysql]     Status change detected: running
1:39:38 AM  [mysql]     Attempting to stop MySQL (PID: 6820)
1:39:38 AM  [mysql]     Status change detected: stopped
1:39:38 AM  [Apache]    Attempting to stop Apache (PID: 7844)
1:39:38 AM  [Apache]    Attempting to stop Apache (PID: 7872)
1:39:38 AM  [Apache]    Status change detected: stopped
1:39:42 AM  [Apache]    Problem detected!
1:39:42 AM  [Apache]    Port 80 in use by "Unable to open process" with PID 4!
1:39:42 AM  [Apache]    Apache WILL NOT start without the configured ports free!
1:39:42 AM  [Apache]    You need to uninstall/disable/reconfigure the blocking application
1:39:42 AM  [Apache]    or reconfigure Apache and the Control Panel to listen on a different port
1:39:42 AM  [Apache]    Attempting to start Apache app...
1:39:42 AM  [Apache]    Status change detected: running

What's going on? I already gave STOP on that "World Wide Web" anyway.

    
asked by anonymous 04.10.2015 / 06:58

2 answers

1

Some programs are already using port 80. Make a sudo netstat -tlpn | grep 80 and see which program is using the port. It takes PID and does sudo kill , in the log that passed the PID was 4 example: sudo kill 4 It could be skype, it used to use port 80, to change settings.

    
04.10.2015 / 11:42
0

Do so, in the Xampp Control Panel, click < < Config > > on the < tab, change the port of 80 (which Windows uses for system testing), put 8080. Save and start apache again. If everything is uploaded ok, click > and you will have the page in your browse. Good luck!

    
20.06.2018 / 00:53