View 80 ports occupy

View 80 port is occupied by what procedures

lsof -i :80   


View port 80 is used with which service

netstat -tunlp | grep :80  

 

See if port 80 is already in use, to verify the use of port services has been running

netstat -an | grep :80 

 

All ports occupancy 

netstat -tunlp | grep :

 

See if httpd service is started

ps to | grep httpd  

 

Guess you like

Origin www.cnblogs.com/soymilk2019/p/11571656.html