开发者

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. Cou开发者_Go百科ld 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜