JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

windows端口

发布时间 2023-07-12 09:17:05作者: record-100

1.查看当前占用端口情况

1. 命令行输入 
netstat -ano
2.资源监视器,网络选项卡

2. 查看特定端口是否被占用

netstat -ano | findstr :12345

3.查看特定进程的详细信息,假设进程ID是6789

tasklist | findstr 6789

4.杀死特定进程,假设进程ID是6789

taskkill /F /PID 6789

 

    本栏目推荐文章
  • OpenHarmony 上跑CV 应用 - Windows上搭建 Linux 桌面系统
  • Mac上运行windows软件-GPTK
  • Windows Server 2016 & 2019 工作站速配脚本
  • windows 命令行调整分辨率
  • Windows 7 SP 1 部署 .NET 6/7
  • Windows 10 中,可以使用 PowerShell 添加打印和文件服务的角色功能组件,包括 Internet 打印客户端、LPD 打印服务和 LPR 端口监视器 PowerShell 添加打印机并创建新的 LPR 端口。以下是添加打印机和创建新端口的 PowerShell 命令在 Windows 10 中,可以使用 PowerShell 添加 LPR 兼容打印机。
  • 在windows上建立与Linux的互连
  • 各种协议的对应的端口的总结
  • 在Windows上出现"localhost拒绝连接”的问题
  • IPv6通过公网共享文件(Windows)
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们