我已经执行了下面的命令,以更好地了解什么是端口8443服务器上我正在努力工作,并安装一些新的软件。
C:\Users\Administrator>netstat -abn | find "8443" TCP 0.0.0.0:8443 0.0.0.0:0 LISTENING TCP [::]:8443 [::]:0 LISTENING
有关如何将其链接到特定服务的任何想法?
没有find的二进制文件即将到来:
Can not obtain ownership information
放下pipe道find
。 令人生气的是,这个应用程序是在一个新的线上,所以你不能使用find
工具。
例如:
C:\Windows\system32>netstat -abn | find "3306" TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING TCP [::]:3306 [::]:0 LISTENING
没有findpipe道(为简洁起见)
C:\Windows\system32>netstat -abn TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING [mysqld.exe]
你可以做的是输出到一个文本文件(即netstat -abn > netstat.txt
),并使用记事本中的search来查找8433,并查看哪个可执行文件正在端口上侦听。
如果得到Can not obtain ownership information
输出中的Can not obtain ownership information
,请稍等片刻,然后再次运行该命令。 这听起来很疯狂,而我正在做这个答案的testing时,发生在我身上。 什么都不做,只是等待30秒,再次运行完全相同的netstat
命令,然后显示可执行文件。
看看TCPView
http://technet.microsoft.com/en-us/sysinternals/bb897437
TCPView是一个Windows程序,它将向您显示系统中所有TCP和UDP端点的详细列表,包括本地和远程地址以及TCP连接的状态。 在Windows Server 2008,Vista和XP上,TCPView还会报告拥有端点的进程的名称。 TCPView提供了Windows附带的Netstat程序的更多信息和方便的子集。 TCPView下载包括Tcpvcon,一个具有相同function的命令行版本。