简体   繁体   中英

Can't run Apache: Need to Find out which application is already using port 80 on my machine

I am trying run Apache web server on my computer without success, and I think it's because another application is using port 80 in my machine. I want to find out how to change the port that Apache uses or find out which application is already using port 80 so I can close it. Could somebody help me please?? Any help would be much appreciated.

On Linux and probably other Unix-like OSes:

$ netstat -n -l -p --inet --inet6 | grep :80

It will happily point out any process using port 80 on your server...

On Windows, one way to find out what is going on would be to go through the output of

netstat -n -a -o -p TCP

looking at the entries marked as LISTENING , then use the Process Manager to find out which process corresponds to the PIDs that match.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM