windons 查询进程 和Linux 开端口

netstat -aon|findstr  "60001"   --查询 

taskkill -pid 7636 -f      --结束

 

Linux 开端口

firewall-cmd --add-port=26001/tcp --permanent
firewall-cmd --reload

posted @ 2024-07-09 11:01  黑狗已醒  阅读(1)  评论(0编辑  收藏  举报