本文介绍了我如何找到哪个应用程序占用了我的端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法启动GlassFish,因为它一直显示此错误消息:
I am unable to start GlassFish, because it keeps showing this error message:
SEVERE: Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@ed7d1
如何查找哪些应用程序正在使用Windows Vista上的哪些端口?我已经尝试通过以下目标使用nmap zenmap:
How can I find what applications are using what ports on Windows Vista?I have tried using nmap zenmap using the following target:
但是我得到的只是这个:
But all I get is this:
Starting Nmap 5.51 ( http://nmap.org ) at 2011-08-05 12:05 Central Daylight Time
NSE: Loaded 57 scripts for scanning.
Read data files from: C:\Program Files\Nmap
Nmap done: 0 IP addresses (0 hosts up) scanned in 4.55 seconds
Raw packets sent: 0 (0B) | Rcvd: 0 (0B)
WARNING: No targets were specified, so 0 hosts scanned.
推荐答案
netstat怎么样?
How about netstat?
http://support.microsoft.com/kb/907980
命令是netstat -anob
.
(确保您以管理员身份运行命令)
(Make sure you run command as admin)
我得到:
C:\Windows\system32>netstat -anob
活动连接
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 692
RpcSs
[svchost.exe]
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 7540
[Skype.exe]
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:623 0.0.0.0:0 LISTENING 564
[LMS.exe]
TCP 0.0.0.0:912 0.0.0.0:0 LISTENING 4480
[vmware-authd.exe]
如果要检查特定端口,则使用的命令是: netstat -aon | findstr 8080 从同一路径
And If you want to check for the particular port, command to use is:netstat -aon | findstr 8080from the same path
这篇关于我如何找到哪个应用程序占用了我的端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!