Link to home
Start Free TrialLog in
Avatar of Dinesh Kumar
Dinesh KumarFlag for India

asked on

apache not starting

I have stopeed iis completely  but I see that port 80 is still used as attached in the screen.

so apache is not starting.

I also tried the following in httpd.conf but it did not work:

#Listen 12.34.56.78:8080
Listen 8080

ServerName localhost:8080



please help!
port-80-issue.png
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

I don't think that stopping IIS is enough.  I think that it still owns port 80 as long as it is installed.  It also doesn't do any good to change the IP address IIS uses, it still hogs port 80.

To change Apache to Listen 8080, you may have to restart the machine, not just the web server.
Your graphic shows that a process with the PID of 4 still has hold of port 80. Have a look at the task manager (or run tasklist from command prompt) and it'll show you which application is running with a PID of 4. May help you track things down
ASKER CERTIFIED SOLUTION
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dinesh Kumar

ASKER

DaveBaldwin: I tried restarting the computer but no use

seth2740: PID 4 is system ( If I change the value to 4 and reboot My .net related program will continue? I mean its safe , please confirm)
yes...it's probably coming from windows remote management service or something related to that
i have the same service on my system and is disabled
Yes seth2740,  port issue resolved.

It still says now:
07:07:32  [Apache]       Apache Service detected with wrong path
07:07:32  [Apache]       Change XAMPP Apache and Control Panel settings or
07:07:32  [Apache]       Uninstall/disable the other service manually first
07:07:32  [Apache]       Found Path: "Z:\xampp\apache\bin\httpd.exe" -k runservice
07:07:32  [Apache]       Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
 
reason being Once(some previous time say one month back) I installed xampp in Z directory but to remove the error in the current comment ,I deleted the xampp folder in Z drive I am not sure How its still looking for that path? (and yesterday I again installed the xampp in c drive)

please see the attachment.
the-remaining-problem.png
also.png
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you!
You're welcome.