Skip to content

Beyond the feed, keep a quiet place.

Studio
月

Collected fragments

#运维

Tags are another index: overlapping themes, like windows lit in different colours.

01 articles
如何查询端口是否被占用 cover
Code Notes
·2 min read

如何查询端口是否被占用

通过使用netstat和taskkill命令,可以查询指定端口是否被占用,并终止占用该端口的进程。此过程可以通过批处理脚本自动化,以简化操作。