netstat中未显示使用的端口-结果 [英] Used port not showing up in netstat -a result

查看:902
本文介绍了netstat中未显示使用的端口-结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题最近在我尝试启动active-mq(默认情况下从端口61616开始)时开始出现。但是突然,它停止在该端口上出现JVM_BIND问题。即使重新启动计算机后,问题也没有消失。

This issues started recently when I am trying to start active-mq (which by default starts on port 61616). But suddenly it stopped coming up with JVM_BIND issue on that port. The problem did not go away even after restarting the computer.

主要问题是Windows 7上的
netstat -a命令并未显示已消耗61616 。但是,当我编写了一个简单的Java程序以将套接字绑定到该端口时,我当然没有能力!

Main problem is that netstat -a command on Windows 7, does not show that 61616 is consumed. But when I wrote a simple Java program to bind a socket to that port, I wasn't certainly able to!

我最终通过移动到另一个端口开始了active-mq。但是,任何人都可以帮助我找到为什么所有端口都没有显示在netstat中的结果吗?谢谢。

I eventually started active-mq by moving to a different port. But, can anybody please help me find why all the ports are not showing up in netstat -a result? Thanks.

推荐答案

不要使用临时端口:
http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html

IPv4允许的最大TCP / IP网络端口号是多少?

这篇关于netstat中未显示使用的端口-结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆