how to get list of port which are in use on the server [closed]

落花浮王杯 提交于 2019-12-31 08:42:54

问题


How to get list of ports which are in use on the server?


回答1:


Open up a command prompt then type...

netstat -a



回答2:


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

netstat -bano



回答3:


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




回答4:


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.




回答5:


nmap is a useful tool for this kind of thing



来源:https://stackoverflow.com/questions/1438141/how-to-get-list-of-port-which-are-in-use-on-the-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!