如何杀死在端口

问题描述

在 Linux 机器上,我正在尝试启动 Glassfish 服务器。

./startserv

这将返回以下消息:

There is a process already running using the admin port 4848 -- it is probably another instance of a Glassfish server

已尝试使用以下命令确定这是哪个进程:

lsof -t -i tcp:4848

在运行 Glassfish 的另一台机器上,此命令返回 Glassfish 使用的进程 ID。但是,在我们遇到问题的机器上,没有返回任何内容。

鉴于 lsof -t -i tcp:4848 没有帮助,使用端口 4848 识别和终止进程的最佳方法是什么?

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)