有没有办法找出谁在 Glassfish 上进行远程调试?
我们团队中有人正在使用 Glassfish 进行远程调试。 我能知道它是哪个ip吗?
In our team someone is using the remote debugging on Glassfish.
Can I figure out which ip it is?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
向底层操作系统询问有关打开的套接字连接的信息,并找到与 GlassFish 调试端口对应的连接。然后您将获得 IP 号码,这有望帮助您识别罪魁祸首。
该实用程序通常称为“netstat”。
Ask the underlying operating system about open socket connections and locate the one corresponding to the GlassFish debug port. You will then have the IP-number, which hopefully will allow you to identify the culprit.
The utility is commonly named "netstat".
谢谢 Thorbjørn :) 我们现在使用该命令
来确定 Glassfish 是否正在侦听远程调试
和 netstat -pn | grep 9009 找出当前谁在使用远程调试
Thanks Thorbjørn :) We now use the command
to figure out if Glassfish is listening for remote debugging
and
netstat -pn | grep 9009
to figure out who is currently using remote debugging