当前位置:网站首页>查看端口占用情况
查看端口占用情况
2022-07-29 09:16:00 【海是倒过来的天呀】
1、netstat -ano //查看所有端口
2、netstat -ano|findstr 8080 //找到某个端口
3、taskkill /pid 8080 -t -f //杀死pid为8080的进程,-t表示终止指定的进程和由它启用的子进程,-f表示强制终止
netstat -ano 详解

状态含义:
LISTENING:侦听来自远方的TCP端口的连接请求
SYN-SENT:再发送连接请求后等待匹配的连接请求
SYN-RECEIVED:再收到和发送一个连接请求后等待对方对连接请求的确认
ESTABLISHED:代表一个打开的连接
FIN-WAIT-1:等待远程TCP连接中断请求,或先前的连接中断请求的确认
FIN-WAIT-2:从远程TCP等待连接中断请求
CLOSE-WAIT:等待从本地用户发来的连接中断请求
CLOSING:等待远程TCP对连接中断的确认
LAST-ACK:等待原来的发向远程TCP的连接中断请求的确认
TIME-WAIT:等待足够的时间以确保远程TCP接收到连接中断请求的确认
CLOSED:没有任何连接状态
补充:
DOS里边查看某个命令的详细用法:
命令 /?
比如:taskkill /? 回车会显示如下

边栏推荐
- LeetCode刷题(6)
- User identity identification and account system practice
- How does alternates achieve high-performance publish and subscribe?
- Opencv cvcircle function
- Intel will gradually end the optane storage business and will not develop new products in the future
- AI is at the forefront | focusing on natural language processing, machine learning and other fields; From Fudan University, Institute of automation, Chinese Academy of Sciences and other teams
- The gold content of PMP certificate has been increased again and included in the scope of Beijing work residence permit
- File upload and expansion
- Quaternion and its simple application in unity
- GBase 8s数据库有哪些备份恢复方式
猜你喜欢

Intel will gradually end the optane storage business and will not develop new products in the future

Summary of some experiences in the process of R & D platform splitting
网络原理笔记(五层网络)

How to change MySQL into Chinese

Data is the main body of future world development, and data security should be raised to the national strategic level

2022危险化学品经营单位主要负责人操作证考试题库及答案

ERROR 1045 (28000): Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)

基于C语言实现的NFA确定化和DFA最小化
Notes on network principles (five layer network)

Could not receive a message from the daemon
随机推荐
File upload and expansion
Tesseract图文识别--简单
Excellent Allegro skill recommendation
Flutter文本编辑器
多标签用户画像分析跑得快的关键在哪里?
机器学习之分类模型评估指标及sklearn代码实现
[unity entry program] collection of common learning websites
Regular expression verification version number
How does alternates achieve high-performance publish and subscribe?
Sword finger offer 27. image of binary tree
STM32 application development practice tutorial: design and implementation of controllable LED water lamp
Safety is no longer the only selling point. Test drive "slash youth" Volvo C40
How to choose effective keywords
Acwing game 59 [End]
Simple unit testing idea
Compile and install Apache for rocky Foundation
存算一体与存内计算计算杂谈
Demonstration and solution of dirty reading, unrepeatable reading and unreal reading
Sword finger offer 32 - ii Print binary tree II from top to bottom
Discussion on the integration of storage and calculation and the calculation in storage