系统相关
首页 > 系统相关> > [tips] linux 80端口被占用

[tips] linux 80端口被占用

作者:互联网

用这个查看使用80端口的线程号

# netstat -lnp|grep 80

在这里插入图片描述

然后用这个根据线程好杀掉该线程

# kill -9 4770

再运行一遍,看看是不是已经被杀掉了,没有的话继续重复上面的步骤:

# netstat -lnp|grep 80

标签:grep,端口,netstat,lnp,线程,linux,tips,80
来源: https://blog.csdn.net/qq_37574623/article/details/118295202