查看80端口占用

查看80端口被什么程序占用

lsof -i :80   


查看80端口是被哪个服务使用着

netstat -tunlp | grep :80  

查看80端口的是否已在使用中,可验证使用该端口的服务是否已正常运行

netstat -an | grep :80 

所有端口占用情况 

netstat -tunlp | grep :

查看httpd服务是否已启动

ps aux | grep httpd  
原文地址:https://www.cnblogs.com/soymilk2019/p/11571656.html