查看端口被占用命令

来源:互联网 发布:软件开发项目甘特图 编辑:程序博客网 时间:2024/04/30 04:42

windows:netstat -ao|find "8080"

linux:

1:ps -ef|grep 8080

2:ps aux|grep 8080

3:netstat -apn|grep 8080 查出PID

    ps -ef|grep PID  获取此PID的信息

 

原创粉丝点击