I was trying to install Zend Server CE on my computer so I could run PHP code on my computer but when it got to the point were I need to choose the port for my Web Server uses it says: "This port is in use. Specify a new Apache port and click Next to continue" and below it says: "Web Server Port: 80 Occupied". I have Skype installed but I told it not to use Port 80 or Port 443. So I decided to check what is using Port 80 and I go to CMD and type: "netstat -o -n -a | findstr 0.0:80" and then CMD outputs:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
I check for PID:4 in Task Manager's Processes and Services. Seems PID 4 is "System".
So, what I want to know is how can I stop PID:4 from using Port 80 and get Zend Server CE installed with default settings, or (if its not important that Zend Server CE uses port 80) what port do I use.
INFO: I am using: Windows 7 64bit; Zend Server CE 5.5.0
EDIT: Now in CMD instead of typing "netstat -o -n -a | findstr 0.0:80" I removed the 0.0 and just typed "netstat -o -n -a | findstr :80" and I got a bigger list and only two processes on the list showed up on my Task Manager. The first one said:
TCP 192.168.0.7:49400 209.73.188.22:80 CLOSE_WAIT 2552
PID:2552 is "rundll32.exe *32" in my task manager. The second saying:
TCP 192.168.0.7:50205 65.195.187.57:80 ESTABLISHED 3092
PID:3092 is one of many "chrome.exe *32" which is Google Chrome. I completely closed Google Chrome and tried again but it did not work.
EDIT: I ran a netstat for everything that is LISTENING to port 80 (netstat -o -n -a | findstr LISTENING | findstr :80). Here are the results:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
TCP [::]:80 [::]:0 LISTENING 4
telnet 127.0.0.1 80and then past that line in and press enter twice. If you're running Windows 7, you need to install telnet client from "add and remove Windows features" first. – billc.cn Oct 30 '11 at 22:35