• windows10 查看进程端口的情况


    以程序 winnfsd.exe 为例:

    1 查看进程号 PID

    C:Usersleo>tasklist|findstr winnfsd.exe
    winnfsd.exe                   3600 Console                    1      9,756 K

    2 查看端口号

    C:Usersleo>netstat -ano|findstr 3600
       TCP    0.0.0.0:111            0.0.0.0:0              LISTENING       3600
       TCP    0.0.0.0:1058           0.0.0.0:0              LISTENING       3600
       TCP    0.0.0.0:2049           0.0.0.0:0              LISTENING       3600
       TCP    192.168.245.1:111      192.168.245.128:47210  CLOSE_WAIT      3600
       TCP    192.168.245.1:111      192.168.245.128:47212  CLOSE_WAIT      3600
       TCP    192.168.245.1:1058     192.168.245.128:900    CLOSE_WAIT      3600
       TCP    192.168.245.1:2049     192.168.245.128:711    CLOSE_WAIT      3600
       TCP    192.168.245.1:2049     192.168.245.128:932    CLOSE_WAIT      3600
       UDP    0.0.0.0:111            *:*                                    3600
       UDP    0.0.0.0:1058           *:*                                    3600
       UDP    0.0.0.0:2049           *:*                                    3600

  • 相关阅读:
    前端图片预览
    理解 Promise 过程
    node 小例子 集合
    各大网站处理 高 retina屏 边框 方法
    用js 创建  简单查找 删除 二叉树
    Python_快速安装第三方库-pip
    Python-找字典中公共key-zip reduce lambda
    Python-对字典进行排序
    Python-统计序列中元素
    Python-为元组中每个元素命名
  • 原文地址:https://www.cnblogs.com/mouseleo/p/8951820.html
Copyright © 2020-2023  润新知