zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    文艺青年、普通青年、2b青年到底是什么意思?
    CMake快速入门教程:实战
    shell脚本中变量$$、$0等的含义
    工作上的C/C++相关
    C/C++的一些备忘
    shell基础二十篇 一些笔记
    C++中this指针的用法详解
    【C++11】新特性——auto的使用
    一个很不错的bash脚本编写教程
    容器
  • 原文地址:https://www.cnblogs.com/mouseleo/p/8951820.html
Copyright © 2011-2022 走看看