返回文章列表

GlassFish server 4848 提示被占用,无法启动的问题处理

错误提示信息(中文): 有一个进程已占用管理端口 4848 -- 可能是 GlassFish 服务器的另一个实例。 命令 start-domain 失败。 错误提示信息(英文): There is a process already using the admin port 48...

1 分钟阅读

错误提示信息(中文):

有一个进程已占用管理端口 4848 -- 可能是 GlassFish 服务器的另一个实例。
命令 start-domain 失败。

错误提示信息(英文):

There is a process already using the admin port 4848 -- it probably is another instance of a GlassFish server.Command start-domain failed.

原因:hostname导致,一般是由于/etc/hosts中hostsname的设置导致
比如你的情况可能是类似下面的情况
[code]
127.0.0.1 localhost.localdomain localhost
xiaoquan
[/code]

解决办法,修改为如下类似情况:
[code]
127.0.0.1 localhost.localdomain localhost
127.0.0.1 xiaoquan
[/code]

评论交流

暂无评论,欢迎留下你的想法