1.windows平台
在windows命令行窗口,执行netstat -aon|findstr "11161"
UDP 0.0.0.0:11161 *:* 14628
UDP [::]:11161 *:* 14628
可以看到占用11161端口的进程号为14628,然后在命令行窗口执行tasklist|findstr "14628"
java.exe 14628 Console 9 532,976 K
很清楚的可以看到,java占用了这个端口。
2.linux平台
查看端口被哪个进程占用,使用命令 netstat -tunlp|grep
[hbase@hbase3 bin]$ netstat -tunlp |grep 11001
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 :::11001 :::* LISTEN 20487/java

i软糖


最新评论
宝藏网站,差点找不回来了,之前我收藏的发布页打不开了。。。
谢谢您可以
视频资源很全好用,安装后提示更新,安装包站长可以更新一下。
哪个国家成功率高一点?换了十几个了