linux查看端口使用情况

来源:互联网 发布:windows.open 全屏 编辑:程序博客网 时间:2024/05/24 03:20

查看80端口是否被占用,没被占用直接使用,占用修改端口

netstat -tln | grep 80

netstat -tln | grep 8080