Jump to content

Clearing Port 80


Gafaddict

Recommended Posts

I recently removed Apache (along with PHP and MySQL -- only extensions to it I had) from my system (Windows XP Home Edition, SP2) as it had simply stopped working and nothing I attempted could get it to work again. I tried to install an older version of it, 1.3, but whenever I try to do so it tells me that a service is still using Port 80. Whenever I try to access localhost, localhost:80, 127.0.0.1, or anything of the like, I simply get a blank page rather than a "address cannot be resolved" error or something similar.

 

I looked at my services list in Computer Management and it didn't seem to be there... so is there any way to remove this ghost Apache service from my computer?

Link to comment
https://forums.phpfreaks.com/topic/50187-clearing-port-80/
Share on other sites

Try netstat -b in command prompt. That will give you a list of all connections and the names of processes which established that connection. This way you can see which process is listening on port 80.

Then get a program like prcviewer. It will tell you the path of the process. Kill it, then erase the exe file.

Link to comment
https://forums.phpfreaks.com/topic/50187-clearing-port-80/#findComment-246619
Share on other sites

Blank page doesn't really mean anything is listening, it just means the port is open in the firewall. There are programs other than apache that have http interfaces and they sometimes listen on port 80. They could have been failing before because apache started earlier and occupied the port, but now they are free to use it.

 

Try netstat -ab just to make sure it displays everything. You can do netstat -ab>netstat.txt. This will save output to netstat.txt so you can search it.

 

Also, just to be sure, try 127.0.0.1 instead of localhost.

 

Does apache start if you try to listen on different port? (Edit "Listen 80" line in httpd.conf)

 

Try telnet 80. If you get any responses, there might be something non-http listening that doesn't respond to browser requests.

 

 

Link to comment
https://forums.phpfreaks.com/topic/50187-clearing-port-80/#findComment-247275
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.