Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

windows could not start the apache 2.4 on local computer

There is some other program listening on port 80, usual suspects are

1 Skype (Listens on port 80)
2 NOD32 (Add Apache to the IMON exceptions' list for it to allow apache to bind)
3 Some other antivirus (Same as above)
Way to correct it is either shutting down the program that's using the port 80 or configure it to use a different port or configure Apache to listen on a different port with the Listen directive in httpd.conf. In the case of antivirus configure the antivirus to allow Apache to bind on the port you have chosen.

Way to diagnose which app, if any, has bound to port 80 is run the netstat with those options, look for :80 next to the local IP address (second column) and find the PID (last column). Then, on the task manager you can find which process has the PID you got in the previous step. (You might need to add the PID column on the task manager)

C:Usersvinko>netstat -ao -p tcp

Conexiones activas

  Proto  Dirección local          Dirección remota        Estado           PID
  TCP    127.0.0.1:1110         127.0.0.1:51373        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51379        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51381        ESTABLISHED     388
  TCP    127.0.0.1:1110         127.0.0.1:51382        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51479        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51481        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51483        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51485        ESTABLISHED     388
  TCP    127.0.0.1:1110         127.0.0.1:51487        TIME_WAIT       0
  TCP    127.0.0.1:1110         127.0.0.1:51489        ESTABLISHED     388
  TCP    127.0.0.1:51381        127.0.0.1:1110         ESTABLISHED     5168
  TCP    127.0.0.1:51485        127.0.0.1:1110         ESTABLISHED     5168
  TCP    127.0.0.1:51489        127.0.0.1:1110         ESTABLISHED     5168
  TCP    127.0.0.1:59264        127.0.0.1:59265        ESTABLISHED     5168
  TCP    127.0.0.1:59265        127.0.0.1:59264        ESTABLISHED     5168
  TCP    127.0.0.1:59268        127.0.0.1:59269        ESTABLISHED     5168
  TCP    127.0.0.1:59269        127.0.0.1:59268        ESTABLISHED     5168
  TCP    192.168.1.34:51278     192.168.1.33:445       ESTABLISHED     4
  TCP    192.168.1.34:51383     67.199.15.132:80       ESTABLISHED     388
  TCP    192.168.1.34:51486     66.102.9.18:80         ESTABLISHED     388
  TCP    192.168.1.34:51490     74.125.4.20:80         ESTABLISHED     388
Comment

PREVIOUS NEXT
Code Example
Shell :: check laptop battery health using upower 
Shell :: git command line discard changes 
Shell :: install tar files on linux 
Shell :: heic open linux 
Shell :: githum readme bold 
Shell :: install composer 2 ubuntu 
Shell :: generate ssh key 
Shell :: Run C# script on linux terminal 
Shell :: graphql comment 
Shell :: change dns server ubuntu 20.04 
Shell :: another apache web server is running 
Shell :: push an existing repository from the command line 
Shell :: wsl file 
Shell :: create user linux 
Shell :: discard all changes 
Shell :: how to check user in group linux 
Shell :: how to install SunraPhpSimpleHtmlDomParser composer 
Shell :: how to check default path of the nginx 
Shell :: how to globally uninstall npm package 
Shell :: get ip address in powershell specifically 
Shell :: Unable to boot device due to insufficient system resources. 
Shell :: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pgdg.list:1 and /etc/apt/sources.list.d/pgdg.list:2 
Shell :: cp folders 
Shell :: Host key verification failed. fatal: Could not read from remote repository. 
Shell :: git discard all local changes 
Shell :: leaflet install yarn 
Shell :: bash printf format 
Shell :: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. 
Shell :: docker remove container 
Shell :: bash parameter 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =