Apache used to work fine. Now I have an error message when I try to start it. The error message states that there are no listening sockets available on Port 80. I don't remember what I entered in the run command a few days ago, but once I entered it, it told me that nothing was listening on that port. So, I'm not sure how to find out what could already be using it. Or should I change something so that Apache listens on a different port? I have heard that having port 80 open is a real security risk. Is this the case? Thank you for your help.
I would Recommend Maybe going to: Software> Apache Update > and Build a Basic Profile with no addons and let me know if that helps.. -Chris
Hi, Did you accidentally change the port to something else? You can see what port 80 is currently using with a " less /etc/services " and you can also try to "telnet localhost 80" and let me know the results.
Well for these kind of errors , I'd like first to see if any runaway process still listening to port 80 you can easily find it with this command netstat -anp | grep ":80" if you see something like this tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1790/httpd so process httpd with pid 1790 is still listening to port 80 , you need to kill it and then restart your apache server. hope this helps.
Just do netstat | grep LISTEN and see if something is using port 80, then just kill that process using kill pid or kill -9 pid or stop it through /etc/init.d/ (proper way)
check the process list to see if httpd is still running. It's probably just hung up. You might kill it and then run your apache startup command.
The last thing I installed I believe was bitzipper, but I don't know if this Apache error started before that. Thank you for all the responses! I just got notified, so I'm going to go down the list and reply to each post.
The pop up tells me the shortcut is missing, then Windows tries searching for the log file but it never finds it.
I tried the telnet localhost command and it said: Could not open connection to the host, on port 80: Connect failed. Where you mentioned " less /etc/services ", above, do I enter this at the command prompt? Thank you!