It is a general command to check which program is using port 80. And also known the PID of this process. Then to force stop it and release the port 80 to other program.   To get more details of how to use command lsof, enter lsof –help to get the help.