Apache with Xampp does not start through blocked ports

5

Log detail:

13:41:13  [main]    Initializing Control Panel
13:41:13  [main]    Windows Version:  Pro  64-bit
13:41:13  [main]    XAMPP Version: 7.0.8
13:41:13  [main]    Control Panel Version: 3.2.2  [ Compiled: Nov 12th 2015 ]
13:41:13  [main]    You are not running with administrator rights! This will work for
13:41:13  [main]    most application stuff but whenever you do something with services
13:41:13  [main]    there will be a security dialogue or things will break! So think 
13:41:13  [main]    about running this application with administrator rights!
13:41:13  [main]    XAMPP Installation Directory: "d:\xampp\"
13:41:13  [main]    Checking for prerequisites
13:41:13  [main]    All prerequisites found
13:41:13  [main]    Initializing Modules
13:41:13  [Apache]  Problem detected!
13:41:13  [Apache]  Port 80 in use by "Unable to open process" with PID 4!
13:41:13  [Apache]  Apache WILL NOT start without the configured ports free!
13:41:13  [Apache]  You need to uninstall/disable/reconfigure the blocking application
13:41:13  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
13:41:13  [Apache]  Problem detected!
13:41:13  [Apache]  Port 443 in use by "E:\vmware\vmware-hostd.exe -u "C:\ProgramData\VMware\hostd\config.xml"" with PID 4128!
13:41:13  [Apache]  Apache WILL NOT start without the configured ports free!
13:41:13  [Apache]  You need to uninstall/disable/reconfigure the blocking application
13:41:13  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
13:41:13  [main]    Starting Check-Timer
13:41:13  [main]    Control Panel Ready
13:41:16  [Apache]  Problem detected!
13:41:16  [Apache]  Port 80 in use by "Unable to open process" with PID 4!
13:41:16  [Apache]  Apache WILL NOT start without the configured ports free!
13:41:16  [Apache]  You need to uninstall/disable/reconfigure the blocking application
13:41:16  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
13:41:16  [Apache]  Problem detected!
13:41:16  [Apache]  Port 443 in use by "E:\vmware\vmware-hostd.exe -u "C:\ProgramData\VMware\hostd\config.xml"" with PID 4128!
13:41:16  [Apache]  Apache WILL NOT start without the configured ports free!
13:41:16  [Apache]  You need to uninstall/disable/reconfigure the blocking application
13:41:16  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
13:41:16  [Apache]  Attempting to start Apache app...
13:41:16  [Apache]  Status change detected: running
13:41:18  [Apache]  Status change detected: stopped
13:41:18  [Apache]  Error: Apache shutdown unexpectedly.
13:41:18  [Apache]  This may be due to a blocked port, missing dependencies, 
13:41:18  [Apache]  improper privileges, a crash, or a shutdown by another method.
13:41:18  [Apache]  Press the Logs button to view error logs and check
13:41:18  [Apache]  the Windows Event Viewer for more clues
13:41:18  [Apache]  If you need more help, copy and post this
13:41:18  [Apache]  entire log window on the forums

Port 80

How can I solve it if it's a system process?

    
asked by Rafael Hernández 05.08.2016 в 13:58
source

4 answers

4

To close the processes that are using those ports, you can use the microsoft tool TCPVIEW

answered by 05.08.2016 / 15:08
source
0

I think this answer from Microsoft Answers can be of help. It explains how to change the port of the Apache server so that it does not conflict with port 80 that is already in use on your PC.

Basically comments that you should access the httpd.conf file , which is usually directory_where_installed_Apache / conf and change port 80 where you prefer (for example 8080).

  

Listen 0.0.0.0:80 change it to Listen 0.0.0.0: 8080

     

Listen [:: 0]: 80 change it to Listen [:: 0]: 8080

     

ServerName localhost: 80 change it to ServerName localhost: 8080

Yes, to access everything that you deploy in the Apache, you must access through localhost: 8080, that is, you must explicitly tell them that you want to access port 8080. If a port is not specified, the browser assumes that you want to access 80.

    
answered by 05.08.2016 в 15:03
0

I have had this problem many times, and in the end, the best thing has been to reinstall everything taking into account a series of considerations, I tell you:

  • Uninstall any previous service manager.
  • Remove any folder from previous installations of XAMPP from C: \ or C: \ Program Files
  • Deactivate Windows Firewall or another firewall that we have next to the antivirus.
  • Minimize "User Account Control Settings"
  • Download xampp-win32- 1.8.1-VC9- installer.exe or later (Do not use other previous versions or Lite version !!)
  • We begin the installation. (Install in C :)
  • When we finish the installation, we start the Apache and MySQL services in the Control Panel.
  • Finally, the services should go green, if everything went well.
  • answered by 05.08.2016 в 15:35
    0

    It happened to me that there was a process that used the port, and however much the configuration of xampp did not connect, it was my turn to leave xampp with its default port and go to the task manager and look for it there service, at this moment I do not remember the name and I'm not on my pc, but it's a sql service, check, if you finish it, xampp works.

    At least it helped me

        
    answered by 09.08.2016 в 16:13