如何获取服务器上正在使用的端口列表

发布于 2024-08-04 22:50:21 字数 1914 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

久而酒知 2024-08-11 22:50:21

打开命令提示符,然后键入...

netstat -a

Open up a command prompt then type...

netstat -a
沧笙踏歌 2024-08-11 22:50:21

有很多选项和工具。如果您只想要侦听端口及其所有者进程的列表,请尝试。

netstat -bano

There are a lot of options and tools. If you just want a list of listening ports and their owner processes try.

netstat -bano
捂风挽笑 2024-08-11 22:50:21

TCPView 是一个 Windows 程序,它将向您显示系统上所有 TCP 和 UDP 端点的详细列表,包括本地和远程地址以及 TCP 连接的状态。在 Windows Server 2008、Vista、NT、2000 和 XP 上,TCPView 还会报告拥有端点的进程的名称。 TCPView 提供了 Windows 附带的 Netstat 程序的信息更丰富且更方便呈现的子集。 TCPView 下载包括 Tcpvcon,一个具有相同功能的命令行版本。

http://technet.microsoft.com/en-us/sysinternals/bb897437。 ASPX

TCPView is a Windows program that will show you detailed listings of all TCP and UDP endpoints on your system, including the local and remote addresses and state of TCP connections. On Windows Server 2008, Vista, NT, 2000 and XP TCPView also reports the name of the process that owns the endpoint. TCPView provides a more informative and conveniently presented subset of the Netstat program that ships with Windows. The TCPView download includes Tcpvcon, a command-line version with the same functionality.

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

谁的年少不轻狂 2024-08-11 22:50:21

如果您的意思是正在侦听哪些端口,您可以打开命令提示符并写入:

netstat

您可以写入:

netstat /?

以获取所有选项的说明。

If you mean what ports are listening, you can open a command prompt and write:

netstat

You can write:

netstat /?

for an explanation of all options.

々眼睛长脚气 2024-08-11 22:50:21

nmap 是处理此类事情的有用工具

nmap is a useful tool for this kind of thing

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文