cmd 命令 netsta 查看端口

列出所有的在运行的端口号


netstat -tulpen

常用命令

netstat -tulpn| grep :80
netstat -an | grep 5000
netstat -nltp | grep 进程名称
ps -ef |grep  nginx
ps aux | grep "nginx: worker process"
sudo lsof -i:3306  ##查看这个端口是否开放

作者:spike

分类: Tool

创作时间:2023-06-25

更新时间:2024-12-09

联系方式放在中括号之中例如[[email protected]],回复评论在开头加上标号例如:#1