发现占用端口netstat-tlnnetstat-tln|grep80netstat-tln查看所有端口的使用情况,netstat-tln|grep80只检查80端口的使用情况lsof-i:80kill掉占用80端口的进程kill-9进程id
Ubuntu检查并释放80端口相关文章