Windows 系统保留端口
Windows 大约 654 字关于保留端口
客户端申请动态端口时,系统不会将保留端口给予客户端使用。
服务仍然可以监听保留端口。
查看保留端口
netsh int ipv4 show excludedportrange tcp
输出
PS C:\> netsh int ipv4 show excludedportrange tcp
协议 tcp 端口排除范围
开始端口 结束端口
---------- --------
80 80
47001 47001
50000 50059 *
55381 55480
* - 管理的端口排除。
添加保留端口
netsh int ipv4 add excludedportrange tcp startport=1433 numberofports=1 store=persistent
删除保留端口
netsh int ipv4 delete excludedportrange tcp startport=1433 numberofports=1
查看动态端口
netsh int ipv4 show dynamicport tcp
参考
阅读 1186 · 发布于 2022-07-12
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
解决 HTTP 请求参数中的加号被替换为空格问题阅读 7363
-
Spring Cloud OpenFeign 自定义 ErrorDecoder阅读 806
-
IDEA Debug 查看方法返回值阅读 3625
-
Spring Boot 使用 @Valid 校验前端传递的参数阅读 4815
-
Java jcmd 命令查看堆中实例阅读 1426
-
OpenResty 中使用 lua-resty-woothee 解析 User-Agent阅读 5024
-
Python 内置函数阅读 1425
-
Git 命令之查看及设置用户名邮箱阅读 3265
-
Spring Boot 注入 Filter 过滤器的几种方式阅读 601
-
Spring Boot Thymeleaf 获取 Bean 等容器中的对象阅读 90